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:
Laurent Destailleur 2019-02-12 16:51:03 +01:00 committed by GitHub
commit afc61d892e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -622,7 +622,7 @@ function dol_include_once($relpath, $classname = '')
$fullpath = dol_buildpath($relpath);
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;
}