Doxygen
This commit is contained in:
parent
82b4befd95
commit
13f83a965e
@ -208,7 +208,8 @@ if ($_POST["action"] == "set")
|
|||||||
// Save old conf file on disk
|
// Save old conf file on disk
|
||||||
if (file_exists("$conffile"))
|
if (file_exists("$conffile"))
|
||||||
{
|
{
|
||||||
// We must ignore errors as an existing old file may alreday exists and not be replacable
|
// We must ignore errors as an existing old file may already exists and not be replacable or
|
||||||
|
// the installer (like for ubuntu) may not have permission to create another file than conf.php.
|
||||||
// Also no other process must be able to read file or we expose the new file so content with password.
|
// Also no other process must be able to read file or we expose the new file so content with password.
|
||||||
@dol_copy($conffile, $conffile.'.old', '0400');
|
@dol_copy($conffile, $conffile.'.old', '0400');
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user