diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,7 +8,7 @@ if (empty($page)) { include('./includes/render_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("./posts/$page.php")) { +} else if (!empty($page) && is_readable("./pages/$page.php")) { include("./pages/$page.php"); } else { include('./includes/404.php'); |