Remove unused function "get_app_location"

This commit is contained in:
Dmitriy Simushev 2014-08-28 10:23:58 +00:00
parent f61ef23e3f
commit 766be1f051

View File

@ -30,15 +30,6 @@ function get_get_param($name, $default = '')
return $value; return $value;
} }
function get_app_location($show_host, $is_secure)
{
if ($show_host) {
return ($is_secure ? "https://" : "http://") . $_SERVER['HTTP_HOST'] . MIBEW_WEB_ROOT;
} else {
return MIBEW_WEB_ROOT;
}
}
function is_secure_request() function is_secure_request()
{ {
return (isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] == '443') return (isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] == '443')