From 2597659d9863785f80819b6b8513fcb904ee54f8 Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Tue, 14 Nov 2006 09:22:36 +0000 Subject: [PATCH] propper placing --- index.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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']; -- 2.39.5