Fixed menu.php issue

Fixed issue with websites with subdomains.