mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 14:33:49 +01:00
- 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:
parent
da46c1ae00
commit
4ec62d0694
2 changed files with 3 additions and 2 deletions
|
@ -23,7 +23,7 @@
|
||||||
// Configuration LDAP Saisie :
|
// Configuration LDAP Saisie :
|
||||||
$GLOBALS['LSconfig'] = array(
|
$GLOBALS['LSconfig'] = array(
|
||||||
'NetLDAP2' => '/usr/share/php/Net/LDAP2.php',
|
'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',
|
'lang' => 'fr_FR.UTF8',
|
||||||
'cacheLSprofiles' => true,
|
'cacheLSprofiles' => true,
|
||||||
'cacheSubDn' => true,
|
'cacheSubDn' => true,
|
||||||
|
|
|
@ -123,12 +123,13 @@ class LSsession {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
die("ERROR : Can't load configuration file.");
|
die("ERROR : Can't load Smarty.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
die("ERROR : Can't load configuration files.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue