- LSsession : Problème dans les messages d'erreur (loadConfig())

- config.inc.php : Correction du chemin de smarty au profit du standart Debian
This commit is contained in:
Benjamin Renard 2009-01-25 15:55:33 +00:00
parent da46c1ae00
commit 4ec62d0694
2 changed files with 3 additions and 2 deletions

View file

@ -23,7 +23,7 @@
// Configuration LDAP Saisie :
$GLOBALS['LSconfig'] = array(
'NetLDAP2' => '/usr/share/php/Net/LDAP2.php',
'Smarty' => '/var/www/tmp/Smarty-2.6.18/libs/Smarty.class.php',
'Smarty' => '/usr/share/php/smarty/libs/Smarty.class.php',
'lang' => 'fr_FR.UTF8',
'cacheLSprofiles' => true,
'cacheSubDn' => true,

View file

@ -123,12 +123,13 @@ class LSsession {
return true;
}
else {
die("ERROR : Can't load configuration file.");
die("ERROR : Can't load Smarty.");
return;
}
return true;
}
else {
die("ERROR : Can't load configuration files.");
return;
}