]> git.mjollnir.org Git - s9y.git/commitdiff
propper placing
authorgarvinhicking <garvinhicking>
Tue, 14 Nov 2006 09:22:36 +0000 (09:22 +0000)
committergarvinhicking <garvinhicking>
Tue, 14 Nov 2006 09:22:36 +0000 (09:22 +0000)
index.php

index 3d9ff879e5b01cd59398d358e0da28f97709e339..164348a594d7b53af9c8cbd5210dba7c7a760874 100644 (file)
--- 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'];