generate_lang_file.php : added inclusion of local LSobject configuration directory
authorBenjamin Renard <bn8@zionetrix.net>
Tue, 9 Jul 2013 17:11:58 +0000 (19:11 +0200)
committerBenjamin Renard <bn8@zionetrix.net>
Tue, 9 Jul 2013 17:11:58 +0000 (19:11 +0200)
public_html/lang/generate_lang_file.php

index eb4317c..453abdb 100755 (executable)
@@ -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']);