Commit 04044aaf authored by Carsten  Rose's avatar Carsten Rose
Browse files

Merge branch 'B13658_qfq_json_rechte_restriktiver' into 'develop'

B13658 permissions of the file qfq.json will be changed to rw-r----- after it is written.

See merge request !428
parents 3c01a572 32a9e280
Pipeline #7086 passed with stage
in 2 minutes and 5 seconds
......@@ -166,6 +166,7 @@ class Config {
$absoluteConf = Path::absoluteConf();
HelperFile::createPathRecursive($absoluteConf);
HelperFile::file_put_contents(Path::join($absoluteConf, CONFIG_QFQ_JSON), json_encode($config, JSON_PRETTY_PRINT));
chmod(Path::join($absoluteConf, CONFIG_QFQ_JSON), 0640);
}
/**
......
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