diff --git a/tabs.php b/tabs.php index c5ab608..2acb09c 100644 --- a/tabs.php +++ b/tabs.php @@ -8,8 +8,10 @@ "Projects" => "/projects/", "Resume" => "/resume/" ); + $base_domain = $_SERVER['HTTP_HOST'] == "aclindsay.com"; + foreach ($tabs as $name => $url) { - if ($url == $_SERVER['REQUEST_URI']) + if ($base_domain && $url == $_SERVER['REQUEST_URI']) echo "
  • ".$name."
  • "; else echo "
  • ".$name."
  • ";