Add more log in install process
This commit is contained in:
parent
5be5852cf4
commit
7420cad4c6
@ -193,7 +193,7 @@ else
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
# If failed, we try to create an empty file
|
# If failed, we try to create an empty file
|
||||||
dolibarr_install_syslog("failed to copy file ".$conffile.".example into ".$conffile.". We try to create it.");
|
dolibarr_install_syslog("failed to copy file ".$conffile.".example into ".$conffile.". We try to create it.", LOG_WARNING);
|
||||||
|
|
||||||
$fp = @fopen($conffile, "w");
|
$fp = @fopen($conffile, "w");
|
||||||
if ($fp)
|
if ($fp)
|
||||||
@ -203,6 +203,7 @@ else
|
|||||||
@fputs($fp,"?>");
|
@fputs($fp,"?>");
|
||||||
fclose($fp);
|
fclose($fp);
|
||||||
}
|
}
|
||||||
|
else dolibarr_install_syslog("failed to create a new file ".$conffile." into current dir ".getcwd().". Check permission.", LOG_ERR);
|
||||||
}
|
}
|
||||||
|
|
||||||
// First install, on ne peut pas upgrader
|
// First install, on ne peut pas upgrader
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user