summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 3387ef9..c00e8b5 100644
--- a/index.php
+++ b/index.php
@@ -5,7 +5,7 @@ $page = strtok($_SERVER['REQUEST_URI'], '/');
if (empty($page)) {
- include('./includes/render_index.php');
+ include('./pages/index.php');
} else if (!empty($page) && $page[0] >= '0' && $page[0] <= '9' && is_readable("./posts/$page.php")) {
include("./posts/$page.php");
} else if (!empty($page) && is_readable("./pages/$page.php")) {