diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-10-06 17:40:58 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-10-06 17:40:58 -0700 |
commit | c7c3db8c54ada33c785a7303de582a3d0c1a14ee (patch) | |
tree | bb25fb74754d6f124b73b70f50ddc228e6399f59 /index.php | |
parent | 9f0cedad8e4f4063db7c8ee5cd9821ff10e39ea0 (diff) | |
download | volse-hubzilla-c7c3db8c54ada33c785a7303de582a3d0c1a14ee.tar.gz volse-hubzilla-c7c3db8c54ada33c785a7303de582a3d0c1a14ee.tar.bz2 volse-hubzilla-c7c3db8c54ada33c785a7303de582a3d0c1a14ee.zip |
i18n officially ready for prime time.
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); |