mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°1114 - config-itop.php access rights enforcement
This commit is contained in:
@@ -992,7 +992,7 @@ class ApplicationInstaller
|
||||
$oConfig->WriteToFile($sConfigFile);
|
||||
|
||||
// try to make the final config file read-only
|
||||
@chmod($sConfigFile, 0444); // Read-only for owner and group, nothing for others
|
||||
@chmod($sConfigFile, 0440); // Read-only for owner and group, nothing for others
|
||||
|
||||
// Ready to go !!
|
||||
require_once(APPROOT.'core/dict.class.inc.php');
|
||||
@@ -1016,4 +1016,4 @@ class SetupDBBackup extends DBBackup
|
||||
{
|
||||
SetupPage::log('Error - '.$sMsg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user