diff --git a/www/config.php b/www/config.php index bc6dab3..dcbb775 100644 --- a/www/config.php +++ b/www/config.php @@ -13,20 +13,20 @@ * Site Navigation */ $navigation = array( - 'Home' => '/www/index.php', - 'About' => '/www/about.php', - 'Contact' => '/www/contact.php' + 'Home' => 'index.php', + 'About' => 'about.php', + 'Contact' => 'contact.php' ); /** * Store the URI for the current page (as requested by the user) * * This should set $current to one of the following - * - /www/index.php' - * - /www/about.php' - * - /www/contact.php + * - index.php' + * - about.php' + * - contact.php */ -$current = $_SERVER['REQUEST_URI']; +$current = basename($_SERVER['REQUEST_URI']); /**