LSsession : always log include errors

This commit is contained in:
Benjamin Renard 2019-03-11 18:27:52 +01:00
parent 51b06418bc
commit 6bd68d8d25

View file

@ -105,13 +105,7 @@ class LSsession {
elseif (!file_exists($file)) { elseif (!file_exists($file)) {
return; return;
} }
if (defined('LSdebug') && constant('LSdebug')) { return include_once($file);
return include_once($file);
}
else {
return @include_once($file);
}
return;
} }
/** /**