From 90aac66df1b4e2d3e37378d4fa8740a5da6f77f4 Mon Sep 17 00:00:00 2001 From: Patrick Winnertz Date: Fri, 23 Aug 2024 15:14:58 +0200 Subject: [PATCH] Move also the comment from the helper function to core/Config.php --- system/core/Config.php | 2 ++ system/helpers/url_helper.php | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/system/core/Config.php b/system/core/Config.php index 761441233..93abd1e49 100644 --- a/system/core/Config.php +++ b/system/core/Config.php @@ -326,6 +326,8 @@ class CI_Config { * Local URL * * Returns local_url [. uri_string] + * + * If local_url is not defined return base_url instead. * * @uses CI_Config::_uri_string() * diff --git a/system/helpers/url_helper.php b/system/helpers/url_helper.php index 8b2eb1806..9857eff5f 100644 --- a/system/helpers/url_helper.php +++ b/system/helpers/url_helper.php @@ -97,8 +97,6 @@ if ( ! function_exists('local_url')) * within e.g. the docker container to the base_url use this url * for cron jobs. * - * If local_url is not defined return base_url instead. - * * @param string $uri * @param string $protocol * @return string