$a = new App;
@include(".htconfig.php");
-$lang = get_language();
+$lang = get_browser_language();
load_translation_table($lang);
-require_once("dba.php");
+require_once("include/dba.php");
$db = new dba($db_host, $db_user, $db_pass, $db_data, false);
unset($db_host, $db_user, $db_pass, $db_data);
if($build != DB_UPDATE_VERSION) {
echo "Updating database...";
- check_config();
+ check_db($a);
echo "Done\n";
}