Commit cfcf1094 authored by Nico Schallehn's avatar Nico Schallehn

cache von gestern löschen..

parent eaf7f534
......@@ -3,6 +3,7 @@ include('../api.class.php');
define("Fanart_Key","9902c9197f457401ff7a7eba839213ba");
function jsonCacheDecoder($url){
$CacheFolderName = "jsoncache/";
exec("rm ".$CacheFolderName.date("y-m-d_",time()-24*3600)."*");
if(!is_dir($CacheFolderName)){
exec( "mkdir ".$CacheFolderName);
}
......
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