X-Git-Url: https://disinclined.org/git/?a=blobdiff_plain;ds=sidebyside;f=index.php;h=54b5bf2f42f54b8f81f17fdae7432f89e94699d1;hb=69fc1a7b8b5406160484cb657881ab9623ec0630;hp=740157b9ceacc8a29d2ae119ab83d37f5e7eea7d;hpb=c2c4a56c5d3b6ccc549539bf99e0d9c0d50473b6;p=dylansserver.git
diff --git a/index.php b/index.php
index 740157b..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 <<
@@ -167,7 +166,7 @@ class index extends cms {
git://dylanstestserver.com
+ "git">git://dylansserver.com
some notes: