From ec5b2499fff7cd30e1c221dbd63b37ef507d41b8 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Sun, 28 Mar 2010 09:42:25 -0400 Subject: Added April Fools Day joke --- index.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 79fce10..2986730 100755 --- a/index.php +++ b/index.php @@ -24,12 +24,12 @@ header('X-Pingback: http://fourisland.com/xmlrpc.php'); include('../security/config.php'); include('includes/db.php'); -include('includes/common.php'); - -if (strpos($_SERVER['REQUEST_URI'],'index.php')) -{ - header('Location: ' . getRewriteURL()); - exit; +include('includes/common.php'); + +if (strpos($_SERVER['REQUEST_URI'],'index.php')) +{ + header('Location: ' . getRewriteURL()); + exit; } ob_start(); @@ -44,6 +44,7 @@ if (file_exists('pages/' . $pageName . '.php')) } $content = ob_get_contents(); + ob_end_clean(); include('includes/layout.php'); -- cgit 1.4.1