Skip to content
Snippets Groups Projects
Commit 13f83a96 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Doxygen

parent 82b4befd
No related branches found
No related tags found
No related merge requests found
......@@ -208,7 +208,8 @@ if ($_POST["action"] == "set")
// Save old conf file on disk
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.
@dol_copy($conffile, $conffile.'.old', '0400');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment