# Base URL of the installationif (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') { $baseurl = 'https://' . $_SERVER['HTTP_HOST'] . '/resourcespace';} else { $baseurl = 'http://' . $_SERVER['HTTP_HOST'] . '/resourcespace';}
$baseurl = 'http://localhost/resourcespace';
# Base URL of the installationif (isset($_SERVER['HTTP_HOST'])) { if (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') { $baseurl = 'https://' . $_SERVER['HTTP_HOST'] . '/resourcespace'; } else { $baseurl = 'http://' . $_SERVER['HTTP_HOST'] . '/resourcespace'; }} else { $baseurl = 'http://localhost/resourcespace';}