Update externalfiles.php
This commit is contained in:
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;
|
||||||
}
|
}
|
Loading…
Reference in New Issue