Commit eaf7f534 authored by Nico Schallehn's avatar Nico Schallehn

ysfgh

parent 6229c562
......@@ -4,7 +4,7 @@ define("Fanart_Key","9902c9197f457401ff7a7eba839213ba");
function jsonCacheDecoder($url){
$CacheFolderName = "jsoncache/";
if(!is_dir($CacheFolderName)){
echo "mkdir ".$CacheFolderName;
exec( "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