X-Git-Url: https://disinclined.org/git/?a=blobdiff_plain;f=index.php;h=54b5bf2f42f54b8f81f17fdae7432f89e94699d1;hb=69fc1a7b8b5406160484cb657881ab9623ec0630;hp=424f8504ab4d03fb8543098316d628ee6cafa134;hpb=8d2cf39d98794c59a92155d9e119db205f431436;p=dylansserver.git diff --git a/index.php b/index.php index 424f850..54b5bf2 100644 --- a/index.php +++ b/index.php @@ -2,7 +2,7 @@ abstract class cms { - private $config_file = '/etc/dylanstestserver.ini'; + private $config_file = '/etc/dylansserver.ini'; protected $db; protected $recaptcha_publickey; protected $recaptcha_privatekey; @@ -69,18 +69,17 @@ abstract class cms { return $return; } - public function display_head($title = "dylanstestserver", + public function display_head($title = "dylansserver", $home_link = "/") { $scripts = ""; $stylesheets = ""; if (cms::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') { + $home_link = "http://validator.w3.org/unicorn/check?ucn_uri=dylansserver.com&ucn_task=conformance#"; + } else if ($this->determine_type() == 'note' + && isset($_GET['comments'])) { $scripts = ""; - $scripts .= ""; - $scripts .= ""; - $scripts .= ""; + $scripts .= ""; } echo << @@ -145,6 +144,7 @@ class index extends cms { echo "