Commit 6229c562 authored by Nico Schallehn's avatar Nico Schallehn

test

parent abea2dbf
......@@ -4,7 +4,7 @@ define("Fanart_Key","9902c9197f457401ff7a7eba839213ba");
function jsonCacheDecoder($url){
$CacheFolderName = "jsoncache/";
if(!is_dir($CacheFolderName)){
exec("mkdir ".$CacheFolderName);
echo "mkdir ".$CacheFolderName;
}
$filename= date("y-m-d_",time()).md5($url).".json";
if(!file_exists($CacheFolderName.$filename)){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment