1
0
mirror of https://github.com/LinkStackOrg/LinkStack.git synced 2025-04-23 14:47:33 +02:00

Update externalfiles.php

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

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