hell
This commit is contained in:
parent
965e071376
commit
4fabec6063
222 changed files with 7 additions and 1 deletions
|
@ -18,7 +18,7 @@ function urlIsAvailable($url){
|
|||
}
|
||||
|
||||
function getImage($url){
|
||||
$alternativeurl = "./hellowrld/".str_replace("/","-",$url);
|
||||
$alternativeurl = "./hellowrld/".str_replace([":","/"],"-",$url);
|
||||
if(file_exists($alternativeurl)){
|
||||
header('Content-Type: '.mime_content_type($alternativeurl));
|
||||
die(file_get_contents($alternativeurl));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue