summary refs log tree commit diff stats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rwxr-xr-xindex.php13
1 files changed, 7 insertions, 6 deletions
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');
24 24
25include('../security/config.php'); 25include('../security/config.php');
26include('includes/db.php'); 26include('includes/db.php');
27include('includes/common.php'); 27include('includes/common.php');
28 28
29if (strpos($_SERVER['REQUEST_URI'],'index.php')) 29if (strpos($_SERVER['REQUEST_URI'],'index.php'))
30{ 30{
31 header('Location: ' . getRewriteURL()); 31 header('Location: ' . getRewriteURL());
32 exit; 32 exit;
33} 33}
34 34
35ob_start(); 35ob_start();
@@ -44,6 +44,7 @@ if (file_exists('pages/' . $pageName . '.php'))
44} 44}
45 45
46$content = ob_get_contents(); 46$content = ob_get_contents();
47
47ob_end_clean(); 48ob_end_clean();
48 49
49include('includes/layout.php'); 50include('includes/layout.php');