chmod config files to 0600

This commit is contained in:
Roland Gruber 2003-10-01 15:01:29 +00:00
parent 89dfd1410a
commit 7a20393b5e
1 changed files with 1 additions and 0 deletions

View File

@ -240,6 +240,7 @@ class Config {
if ($file) {
for ($i = 0; $i < sizeof($file_array); $i++) fputs($file, $file_array[$i]);
fclose($file);
@chmod ($conffile, 0600);
}
else {
StatusMessage("ERROR", "", _("Cannot open config file!") . " (" . $conffile . ")");