summaryrefslogtreecommitdiffstats
path: root/config.php
diff options
context:
space:
mode:
authorraul2014-07-10 15:29:50 +0200
committerMichael Pereira Neves2014-07-11 15:05:32 +0200
commitfc2a4bcd2c3b544ce3df87c64bd7c915dc0d7397 (patch)
tree6757f96820ea5477cb429edbc3bad7002ee59804 /config.php
parent[i18n] changed DB script to the new language notation (diff)
downloadslx-admin-fc2a4bcd2c3b544ce3df87c64bd7c915dc0d7397.tar.gz
slx-admin-fc2a4bcd2c3b544ce3df87c64bd7c915dc0d7397.tar.xz
slx-admin-fc2a4bcd2c3b544ce3df87c64bd7c915dc0d7397.zip
[i18n] reorganized the internationalization system
Diffstat (limited to 'config.php')
-rw-r--r--config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.php b/config.php
index 1639c7c3..2fe7a78e 100644
--- a/config.php
+++ b/config.php
@@ -14,7 +14,7 @@ define('CONFIG_SQL_PASS', 'geheim');
define('CONFIG_SQL_FORCE_UTF8', false);
//define('CONFIG_SQL_DB', 'openslx');
-define('LANG',str_replace("\n", "", file_get_contents('lang/lang.txt')));
+define('LANG', $language);
define('CONFIG_TGZ_LIST_DIR', '/opt/openslx/configs');