diff --git a/conlite/includes/functions.system.php b/conlite/includes/functions.system.php index 341dd7e..fc80e04 100644 --- a/conlite/includes/functions.system.php +++ b/conlite/includes/functions.system.php @@ -205,6 +205,12 @@ function compareUrlStrings($arrConUrl, $arrBrowserUrl) { return true; } +/** + * Convert parse_url array to string + * + * @param array $parsed_url + * @return string URL + */ function unparse_url($parsed_url) { $scheme = isset($parsed_url['scheme']) && is_string($parsed_url['scheme']) ? $parsed_url['scheme'] . '://' : ''; $host = isset($parsed_url['host']) && is_string($parsed_url['host']) ? $parsed_url['host'] : '';