X-Git-Url: https://disinclined.org/git/?a=blobdiff_plain;f=index.php;h=f151a7438922b41939223f376185b02b59c44596;hb=e8fefa2acfe3b545f0e6874f7761fe1d9edbeaaf;hp=0f23b809a0fe5c7f9e3e57d77e2732d19e869946;hpb=f7025d5e13262ba32a86b04ced7a3ed47cf70f18;p=dylansserver.git diff --git a/index.php b/index.php index 0f23b80..f151a74 100644 --- a/index.php +++ b/index.php @@ -22,6 +22,8 @@ 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'] == '/') { @@ -61,7 +63,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 <<