diff --git a/htdocs/install/check.php b/htdocs/install/check.php index 34efffe38e2..e774dbd3f5c 100644 --- a/htdocs/install/check.php +++ b/htdocs/install/check.php @@ -39,8 +39,8 @@ $langs->load("install"); // Init "forced values" to nothing. "forced values" are used after an doliwamp install wizard. if (! isset($force_install_dolibarrlogin)) $force_install_dolibarrlogin=''; $useforcedwizard=false; -if (file_exists("./install.forced.php")) { $useforcedwizard=true; include_once("./install.forced.php"); } -else if (file_exists("/etc/dolibarr/install.forced.php")) { $useforcedwizard=include_once("/etc/dolibarr/install.forced.php"); } +if (@file_exists("./install.forced.php")) { $useforcedwizard=true; include_once("./install.forced.php"); } +else if (@file_exists("/etc/dolibarr/install.forced.php")) { $useforcedwizard=include_once("/etc/dolibarr/install.forced.php"); } dolibarr_install_syslog("Dolibarr install/upgrade process started");