X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=index.php;h=40551f3881cf22860f0fd89b797c15513e88c345;hb=05597b564d2a00a9591861baeb6945fe22c55121;hp=49e6fccb05c0b09868f721e4f4fab456a6c95985;hpb=2cb576d30523088900813d491f3accf9cbbf1857;p=friendica.git diff --git a/index.php b/index.php index 49e6fccb05..40551f3881 100644 --- a/index.php +++ b/index.php @@ -32,9 +32,7 @@ $install = ((file_exists('.htconfig.php') && filesize('.htconfig.php')) ? false -$lang = get_browser_language(); -load_translation_table($lang); /** * @@ -58,10 +56,13 @@ if(!$install) { require_once("include/session.php"); load_hooks(); call_hooks('init_1'); + + $maintenance = get_config('system', 'maintenance'); } -$maintenance = get_config('system', 'maintenance'); +$lang = get_browser_language(); +load_translation_table($lang); /** * @@ -141,7 +142,8 @@ if($install) elseif($maintenance) $a->module = 'maintenance'; else { - proc_run('php', 'include/dbupdate.php'); + check_url($a); + check_db(); check_plugins($a); }