From 73fc0e5fb5ccdb4e0d921522753817d018f0fa70 Mon Sep 17 00:00:00 2001 From: Aaron Lindsay Date: Sat, 16 Apr 2011 16:20:59 -0600 Subject: [PATCH] tabs.php: Updated to not overline "Home" from acal.aclindsay.com --- tabs.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tabs.php b/tabs.php index d4c4f9a..ec1e4a4 100644 --- a/tabs.php +++ b/tabs.php @@ -12,11 +12,11 @@ $base_domain = $_SERVER['HTTP_HOST'] == "aclindsay.com"; foreach ($tabs as $name => $url) { if ($url == "/") { - if ($_SERVER['REQUEST_URI'] == "/") + if ($base_domain && $_SERVER['REQUEST_URI'] == "/") echo "\t\t
  • Home
  • \n"; else echo "\t\t
  • Home
  • \n"; - } else if ($base_domain && strncmp($url, $_SERVER['REQUEST_URI'], strlen($url)) == 0) + } else if (strncmp($url, $_SERVER['REQUEST_URI'], strlen($url)) == 0) echo "\t\t
  • ".$name."
  • \n"; else echo "\t\t
  • ".$name."
  • \n";