diff options
author | 53hornet <atc@53hor.net> | 2021-12-11 16:44:38 -0500 |
---|---|---|
committer | 53hornet <atc@53hor.net> | 2021-12-11 16:44:38 -0500 |
commit | ee65e8eefba9ebeca77aa447b4dbe1743a7a2849 (patch) | |
tree | bfd1820a01ebdd42ee71aae343ea0274d4835eb3 /index.php | |
parent | 69cf2d0ab47f0389ee7dbc594d99db0e99c2c63c (diff) | |
download | 53hor-ee65e8eefba9ebeca77aa447b4dbe1743a7a2849.tar.xz 53hor-ee65e8eefba9ebeca77aa447b4dbe1743a7a2849.zip |
chore: organized index page, moved noscript, add links
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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")) { |