From 6bd68d8d25812c008d10749e153efc7f3536df7b Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Mon, 11 Mar 2019 18:27:52 +0100 Subject: [PATCH] LSsession : always log include errors --- public_html/includes/class/class.LSsession.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/public_html/includes/class/class.LSsession.php b/public_html/includes/class/class.LSsession.php index d81a9ae0..d16a3ce7 100644 --- a/public_html/includes/class/class.LSsession.php +++ b/public_html/includes/class/class.LSsession.php @@ -105,13 +105,7 @@ class LSsession { elseif (!file_exists($file)) { return; } - if (defined('LSdebug') && constant('LSdebug')) { - return include_once($file); - } - else { - return @include_once($file); - } - return; + return include_once($file); } /**