diff options
author | 53hornet <atc@53hor.net> | 2021-12-14 15:27:05 -0500 |
---|---|---|
committer | 53hornet <atc@53hor.net> | 2021-12-14 15:27:05 -0500 |
commit | f954585ea098ee5d6619c62a8fa48a904474ab3f (patch) | |
tree | 2d59dfcd46585cb4d4f83d8f980d23e639831f7d /index.php | |
parent | 9f7c80247c8fe82acaff34bb88ecb0bfa5afe5b8 (diff) | |
download | 53hor-f954585ea098ee5d6619c62a8fa48a904474ab3f.tar.xz 53hor-f954585ea098ee5d6619c62a8fa48a904474ab3f.zip |
refactor: move css to its own file
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")) { |