Created
August 14, 2015 02:00
-
-
Save truelinux/e01b16ee9a1d5a19d055 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(!file_exists($this->getDataFolder() . "config.yml")) { | |
@mkdir($this->getDataFolder()); | |
file_put_contents($this->getDataFolder() . "config.yml", $this->getResource("config.yml")); | |
} | |
$this->saveDefaultConfig(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment