From 5e58183b4a25ef6e3e9affec4ffa15297e260be0 Mon Sep 17 00:00:00 2001 From: Julian Prieber Date: Thu, 25 May 2023 18:04:58 +0200 Subject: [PATCH] Update externalfiles.php --- app/Functions/externalfiles.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Functions/externalfiles.php b/app/Functions/externalfiles.php index 2c8f9ab..81ea595 100644 --- a/app/Functions/externalfiles.php +++ b/app/Functions/externalfiles.php @@ -12,7 +12,7 @@ function external_file_get_contents($url) { return $data; } -function uri($path) { - $url = str_replace(['http://', 'https://'], '', url('')); +function urlr($path) { + $url = str_replace(['http://', 'https://'], '', uri('')); return "//" . $url . "/" . $path; } \ No newline at end of file