forked from Wavyzz/dolibarr
Debug v22
This commit is contained in:
@@ -1530,7 +1530,6 @@ function dol_include_once($relpath, $classname = '')
|
||||
dol_syslog('functions::dol_include_once Tried to load unexisting file: '.$relpath, LOG_WARNING);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!empty($classname) && !class_exists($classname)) {
|
||||
return include $fullpath;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user