Update externalfiles.php

This commit is contained in:
Julian Prieber 2023-05-25 18:09:25 +02:00
parent 5e58183b4a
commit 8e84566e84

View File

@ -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;
}