generate_lang_file.php : added inclusion of local LSobject configuration directory

This commit is contained in:
Benjamin Renard 2013-07-09 19:11:58 +02:00
parent 8722098db3
commit 568ea9a089

View file

@ -62,7 +62,7 @@ foreach($GLOBALS['LSconfig']['ldap_servers'] as $conf) {
// LSobject
if (loadDir('../'.LS_OBJECTS_DIR)) {
if (loadDir('../'.LS_OBJECTS_DIR) && loadDir('../'.LS_LOCAL_DIR.LS_OBJECTS_DIR)) {
foreach($GLOBALS['LSobjects'] as $name => $conf) {
add($conf['label']);