From 8e84566e84a305964cd019ba46f0ed4caa4f47e7 Mon Sep 17 00:00:00 2001 From: Julian Prieber Date: Thu, 25 May 2023 18:09:25 +0200 Subject: [PATCH] Update externalfiles.php --- app/Functions/externalfiles.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Functions/externalfiles.php b/app/Functions/externalfiles.php index 81ea595..2fe363a 100644 --- a/app/Functions/externalfiles.php +++ b/app/Functions/externalfiles.php @@ -13,6 +13,6 @@ function external_file_get_contents($url) { } function urlr($path) { - $url = str_replace(['http://', 'https://'], '', uri('')); + $url = str_replace(['http://', 'https://'], '', url('')); return "//" . $url . "/" . $path; } \ No newline at end of file