From 224f9ee5014ae5c5399188afd8d38e3b620e2856 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Thu, 26 Nov 2009 14:21:20 -0500 Subject: Added Fouripedia compatibility Made many strutural changes to Four Island allowing for the reinclusion of Fouripedia. --- index.php | 36 +----------------------------------- 1 file changed, 1 insertion(+), 35 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 7a958ee..83cdd99 100755 --- a/index.php +++ b/index.php @@ -24,41 +24,7 @@ header('X-Pingback: http://fourisland.com/xmlrpc.php'); include('../security/config.php'); include('includes/db.php'); -include('includes/template.php'); -include('includes/session.php'); -include('includes/maintenance.php'); -include('includes/parsers.php'); -include('includes/xmlrpc/xmlrpc.inc'); -include('includes/specialdates.php'); -include('includes/functions.php'); -include('includes/hits.php'); -include('includes/updatePending.php'); - -if (isset($_GET['layout'])) -{ - if (!file_exists('theme/layouts/' . basename($_GET['layout']))) - { - $_GET['layout'] = '7'; - } - - setcookie('layout', $_GET['layout'], time()+60*60*24*30, '/', '.fourisland.com'); - - unset($_GET['layout']); - - header('Location: ' . getRewriteURL()); - exit; -} - -if (preg_match('|MSIE ([0-9].[0-9]{1,2})|', $_SERVER['HTTP_USER_AGENT'], $matched)) -{ - $usingIE = true; -} else { - if (getLayout() == '7') - { - header('Content-type: application/xhtml+xml'); - $xhtml = true; - } -} +include('includes/common.php'); if (strpos($_SERVER['REQUEST_URI'],'index.php')) { -- cgit 1.4.1