diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1,9 +1,7 @@ <?php include('./includes/head.php'); - $page = strtok($_SERVER['REQUEST_URI'], '/'); - if (empty($page)) { include('./pages/index.php'); } else if (!empty($page) && $page[0] >= '0' && $page[0] <= '9' && is_readable("./posts/$page.php")) { |