X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=index.php;h=3ccdc725f60ab955e42d478a19e5403c1818d665;hb=c90272e2ae52ecab496c6aab068a485b8b22e19a;hp=08f284ad70fae177aad1bbb2cb816bb06771c9f8;hpb=83448507b8f8a72f07a87225089a0b07dc4ad76d;p=friendica.git diff --git a/index.php b/index.php index 08f284ad70..3ccdc725f6 100644 --- a/index.php +++ b/index.php @@ -33,7 +33,7 @@ $install = ((file_exists('.htconfig.php') && filesize('.htconfig.php')) ? false $lang = get_browser_language(); - + load_translation_table($lang); /** @@ -58,9 +58,9 @@ if(!$install) { require_once("include/session.php"); load_hooks(); call_hooks('init_1'); -} -$maintenance = get_config('system', 'maintenance'); + $maintenance = get_config('system', 'maintenance'); +} /** @@ -141,6 +141,7 @@ if($install) elseif($maintenance) $a->module = 'maintenance'; else { + check_url($a); check_db(); check_plugins($a); }