Update externalfiles.php

This commit is contained in:
Julian Prieber 2023-05-25 18:15:16 +02:00
parent 8e84566e84
commit 2dee1de0a1
1 changed files with 1 additions and 1 deletions

View File

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