mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-08 01:53:03 +01:00
Fix var not initialized
This commit is contained in:
@@ -43,6 +43,7 @@ $error=0;
|
||||
define('EVEN_IF_ONLY_LOGIN_ALLOWED',1); // Set this define to 0 if you want to lock your script when dolibarr setup is "locked to admin user only".
|
||||
|
||||
// Include and load Dolibarr environment variables
|
||||
$res=0;
|
||||
if (! $res && file_exists($path."master.inc.php")) $res=@include($path."master.inc.php");
|
||||
if (! $res && file_exists($path."../master.inc.php")) $res=@include($path."../master.inc.php");
|
||||
if (! $res && file_exists($path."../../master.inc.php")) $res=@include($path."../../master.inc.php");
|
||||
|
||||
Reference in New Issue
Block a user