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

Sec: If conf.php file is write protected, then all first install process is locked.

parent 7633c94a
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ if ($_POST["action"] == "set")
pHeader($langs->trans("SetupEnd"),"etape5");
// Test if we can run a first install process
if (! is_writable($conffile))
if (! GETPOST("versionfrom") && ! GETPOST("versionto") && ! is_writable($conffile))
{
print $langs->trans("ConfFileIsNotWritable",'htdocs/conf/conf.php');
pFooter(1,$setuplang,'jscheckparam');
......
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