Commit 32a9e280 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Remove setting permission on read: too much effort.

parent afb132ec
Pipeline #7085 passed with stage
in 3 minutes and 26 seconds
......@@ -81,7 +81,6 @@ class Config {
if (!file_exists($absoluteConfigFilePath)) {
HelperFile::createPathRecursive(Path::absoluteConf());
HelperFile::file_put_contents(Path::absoluteConf(CONFIG_QFQ_JSON_EXAMPLE), json_encode(self::CONFIG_REQUIRED_TEMPLATE, JSON_PRETTY_PRINT));
chmod(Path::absoluteConf(CONFIG_QFQ_JSON_EXAMPLE), 0640);
Thrower::userFormException("Please create qfq config file '" . CONFIG_QFQ_JSON . "' in the conf directory which is inside the project directory. Example config file '" . CONFIG_QFQ_JSON_EXAMPLE . "' was created in conf directory.", "Project directory: " . Path::absoluteProject());
}
$config = HelperFile::json_decode(HelperFile::file_get_contents($absoluteConfigFilePath));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment