$this->setConfigFile('static' . DIRECTORY_SEPARATOR . 'defaults.config.php', true);
$this->setConfigFile('static' . DIRECTORY_SEPARATOR . 'settings.config.php', true);
$this->setConfigFile(
- 'mods' . DIRECTORY_SEPARATOR . 'local.config.vagrant.php',
+ 'mods' . DIRECTORY_SEPARATOR . 'local.config.ci.php',
false, 'local.config.php'
);
}
* @param string $sourceFilePath The filename of the config file
* @param bool $static True, if the folder `static` instead of `config` should be used
*/
- protected function setConfigFile(string $sourceFilePath, bool $static = false, string $targetFileName = null)
+ public function setConfigFile(string $sourceFilePath, bool $static = false, string $targetFileName = null)
{
$file = dirname(__DIR__) . DIRECTORY_SEPARATOR .
'..' . DIRECTORY_SEPARATOR .
}
/**
- * Delets a config file from the Virtual File System
+ * Deletes a config file from the Virtual File System
*
* @param string $filename The filename of the config file
* @param bool $static True, if the folder `static` instead of `config` should be used