From b6de64dac04d1894567efc0bd381fc761858f25a Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Mon, 12 Jan 2009 14:52:54 +0000 Subject: [PATCH] - LSsession : Remplacement de require_once() par des include_once() --- trunk/includes/class/class.LSsession.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/includes/class/class.LSsession.php b/trunk/includes/class/class.LSsession.php index 1bab214b..44a7429e 100644 --- a/trunk/includes/class/class.LSsession.php +++ b/trunk/includes/class/class.LSsession.php @@ -147,7 +147,7 @@ class LSsession { if (!$this -> loadLSclass($object,'LSobjects')) { $error = 1; } - if (!require_once( LS_OBJECTS_DIR . 'config.LSobjects.'.$object.'.php' )) { + if (!include_once( LS_OBJECTS_DIR . 'config.LSobjects.'.$object.'.php' )) { $error = 1; } if ($error) { @@ -167,7 +167,7 @@ class LSsession { * @retval boolean true si le chargement a réussi, false sinon. */ function loadLSaddon($addon) { - if(require_once LS_ADDONS_DIR .'LSaddons.'.$addon.'.php') { + if(include_once LS_ADDONS_DIR .'LSaddons.'.$addon.'.php') { @include_once(LS_CONF_DIR."LSaddons/config.LSaddons.".$addon.".php"); if (!call_user_func('LSaddon_'. $addon .'_support')) { $GLOBALS['LSerror'] -> addErrorCode('LSsession_02',$addon);