i18n officially ready for prime time.
This commit is contained in:
parent
9f0cedad8e
commit
c7c3db8c54
4 changed files with 52 additions and 5 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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue