diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -6,11 +6,15 @@ $a = new App; $debug_text = ''; // Debugging functions should never be used on production systems. -// Setup the database. +// Setup the language and database. $install = ((file_exists('.htconfig.php')) ? false : true); @include(".htconfig.php"); + +if(x($lang)) + load_translation_table($lang); + require_once("dba.php"); $db = new dba($db_host, $db_user, $db_pass, $db_data, $install); unset($db_host, $db_user, $db_pass, $db_data); |