Update externalfiles.php

This commit is contained in:
Julian Prieber 2023-05-25 18:04:58 +02:00
parent 8caf099eaa
commit 5e58183b4a
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ function external_file_get_contents($url) {
return $data; return $data;
} }
function uri($path) { function urlr($path) {
$url = str_replace(['http://', 'https://'], '', url('')); $url = str_replace(['http://', 'https://'], '', uri(''));
return "//" . $url . "/" . $path; return "//" . $url . "/" . $path;
} }