mirror of
https://github.com/Mibew/mibew.git
synced 2025-03-03 18:38:31 +03:00
Remove unused function "get_app_location"
This commit is contained in:
parent
f61ef23e3f
commit
766be1f051
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user