X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=index.php;h=cb95b96f0219afdc4fe7e359e3a0a41597588611;hb=6322ac79a020ab584d412d782d62b2ee77d7c6cf;hp=b3f63d461195637517bd38d53835ca9733533b53;hpb=141bc2420e3794fbc299694a110b237d08cef965;p=tt-rss.git diff --git a/index.php b/index.php index b3f63d46..cb95b96f 100644 --- a/index.php +++ b/index.php @@ -19,6 +19,7 @@ set_include_path(dirname(__FILE__) ."/include" . PATH_SEPARATOR . get_include_path()); + require_once "autoload.php"; require_once "sessions.php"; require_once "functions.php"; require_once "sanity_check.php"; @@ -31,7 +32,7 @@ $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); - if (!init_connection($link)) return; + if (!init_plugins()) return; global $pluginhost; @@ -48,9 +49,7 @@ } } - login_sequence($link); - - no_cache_incantation(); + login_sequence(); header('Content-Type: text/html; charset=utf-8'); @@ -66,14 +65,14 @@ - +