Merge pull request #10558 from aspangaro/10.0_dol_include_once_WARNING
Move error on function dol_include_once() to LOG_WARNING
This commit is contained in:
commit
afc61d892e
@ -622,7 +622,7 @@ function dol_include_once($relpath, $classname = '')
|
|||||||
$fullpath = dol_buildpath($relpath);
|
$fullpath = dol_buildpath($relpath);
|
||||||
|
|
||||||
if (!file_exists($fullpath)) {
|
if (!file_exists($fullpath)) {
|
||||||
dol_syslog('functions::dol_include_once Tried to load unexisting file: '.$relpath, LOG_ERR);
|
dol_syslog('functions::dol_include_once Tried to load unexisting file: '.$relpath, LOG_WARNING);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user