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";