diff options
Diffstat (limited to 'index.php')
-rwxr-xr-x | index.php | 13 |
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 | ||
25 | include('../security/config.php'); | 25 | include('../security/config.php'); |
26 | include('includes/db.php'); | 26 | include('includes/db.php'); |
27 | include('includes/common.php'); | 27 | include('includes/common.php'); |
28 | 28 | ||
29 | if (strpos($_SERVER['REQUEST_URI'],'index.php')) | 29 | if (strpos($_SERVER['REQUEST_URI'],'index.php')) |
30 | { | 30 | { |
31 | header('Location: ' . getRewriteURL()); | 31 | header('Location: ' . getRewriteURL()); |
32 | exit; | 32 | exit; |
33 | } | 33 | } |
34 | 34 | ||
35 | ob_start(); | 35 | ob_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 | |||
47 | ob_end_clean(); | 48 | ob_end_clean(); |
48 | 49 | ||
49 | include('includes/layout.php'); | 50 | include('includes/layout.php'); |