From 6489c7000aaa108b112e351ea73bed17af526348 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 26 Nov 2011 15:14:07 +0100 Subject: [PATCH] Fix: Removed warnings --- htdocs/install/check.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/install/check.php b/htdocs/install/check.php index ab473201867..5edcb72ab10 100644 --- a/htdocs/install/check.php +++ b/htdocs/install/check.php @@ -38,8 +38,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");