From 568ea9a089a17f6ade707499b3e4156e7eda7a99 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Tue, 9 Jul 2013 19:11:58 +0200 Subject: [PATCH] generate_lang_file.php : added inclusion of local LSobject configuration directory --- public_html/lang/generate_lang_file.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/lang/generate_lang_file.php b/public_html/lang/generate_lang_file.php index eb4317c4..453abdb6 100755 --- a/public_html/lang/generate_lang_file.php +++ b/public_html/lang/generate_lang_file.php @@ -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']);