From a122b67aa40f7efd0078ea7c61ba80a5a9ea3354 Mon Sep 17 00:00:00 2001 From: Ortwin Pinke Date: Thu, 27 Jan 2022 21:25:30 +0100 Subject: [PATCH] add doc tags --- conlite/includes/functions.system.php | 6 ++++++ 1 file changed, 6 insertions(+) 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'] : '';