Updated site_controller.php to correctly determine the Base URL for sites used in a sub-directory of a site and not at the document root of the site.