]> git.mxchange.org Git - friendica.git/blobdiff - index.php
supressing warning when importing items. Speeding up community. Changed query for...
[friendica.git] / index.php
index 08f284ad70fae177aad1bbb2cb816bb06771c9f8..3ccdc725f60ab955e42d478a19e5403c1818d665 100644 (file)
--- 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);
 }