X-Git-Url: https://disinclined.org/git/?a=blobdiff_plain;f=index.php;h=3f64a27ddede8d88af26808b788ebc95b0b9b0c6;hb=0a144953e57bf457df61e58a3f94b0178c1f9707;hp=a0c48f28f6c230c0ac45f4d3206670cc6bdf856f;hpb=deb56dae38123d0a47612f01fe40122dbe001147;p=dylansserver.git diff --git a/index.php b/index.php index a0c48f2..3f64a27 100644 --- a/index.php +++ b/index.php @@ -34,7 +34,10 @@ abstract class cms { return 'index'; } else if (isset($_GET['project'])) { return 'project'; + } else if (isset($_GET['challenge'])) { + return 'captcha'; } + } public function query() { @@ -66,11 +69,14 @@ abstract class cms { $home_link = "/") { $scripts = ""; $stylesheets = ""; - if ($this->determine_type() == "index") { - $scripts = ""; $home_link = "http://validator.w3.org/unicorn/check?ucn_uri=dylanstestserver.com&ucn_task=conformance#"; } else if ($this->determine_type() == 'note') { $scripts = ""; + $scripts .= ""; + $scripts .= ""; + $scripts .= ""; } echo <<