X-Git-Url: https://disinclined.org/git/?a=blobdiff_plain;f=index.php;h=8fe04325d6fcb5ec4aca99db08337b2fe99a9060;hb=05250f978cc7e3e1f7df92f20fd18f4667a06f2f;hp=0f23b809a0fe5c7f9e3e57d77e2732d19e869946;hpb=f7025d5e13262ba32a86b04ced7a3ed47cf70f18;p=dylansserver.git diff --git a/index.php b/index.php index 0f23b80..8fe0432 100644 --- a/index.php +++ b/index.php @@ -22,12 +22,16 @@ abstract class cms { public static function determine_type() { if (isset($_GET['page']) && is_numeric($_GET['page'])) { return 'page'; + } else if (isset($_GET['year'])) { + return 'archive'; } else if (isset($_GET['note'])) { return 'note'; } else if ($_SERVER['REQUEST_URI'] == '/') { return 'index'; } else if (isset($_GET['project'])) { return 'project'; + } else if (isset($_GET['rss'])) { + return 'rss'; } } @@ -61,7 +65,7 @@ abstract class cms { $scripts = ""; $stylesheets = ""; if (cms::determine_type() == "index") { - $scripts = ""; $home_link = "http://validator.w3.org/unicorn/check?ucn_uri=dylanstestserver.com&ucn_task=conformance#"; } echo <<