summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
author53hornet <atc@53hor.net>2021-12-14 15:27:05 -0500
committer53hornet <atc@53hor.net>2021-12-14 15:27:05 -0500
commitf954585ea098ee5d6619c62a8fa48a904474ab3f (patch)
tree2d59dfcd46585cb4d4f83d8f980d23e639831f7d /index.php
parent9f7c80247c8fe82acaff34bb88ecb0bfa5afe5b8 (diff)
download53hor-f954585ea098ee5d6619c62a8fa48a904474ab3f.tar.xz
53hor-f954585ea098ee5d6619c62a8fa48a904474ab3f.zip
refactor: move css to its own file
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/index.php b/index.php
index c00e8b5..f9ad9cf 100644
--- a/index.php
+++ b/index.php
@@ -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")) {