From: garvinhicking Date: Tue, 14 Nov 2006 09:22:36 +0000 (+0000) Subject: propper placing X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2597659d9863785f80819b6b8513fcb904ee54f8;p=s9y.git propper placing --- diff --git a/index.php b/index.php index 3d9ff87..164348a 100644 --- a/index.php +++ b/index.php @@ -17,14 +17,15 @@ if ($global_debug) { // We need to set this to return a 200 since we use .htaccess ErrorDocument // rules to handle archives. header('HTTP/1.0 200'); -if ($serendipity['expose_s9y']) { - header('X-Blog: Serendipity'); // Used for installer detection -} // Session are needed to also remember an autologin user on the frontend ob_start(); include_once('serendipity_config.inc.php'); header('Content-Type: text/html; charset='. LANG_CHARSET); +if ($serendipity['expose_s9y']) { + header('X-Blog: Serendipity'); // Used for installer detection +} + $track_referer = true; $uri = $_SERVER['REQUEST_URI'];