diff --git a/functions/cache.php b/functions/cache.php index 3796de5..2f23e53 100644 --- a/functions/cache.php +++ b/functions/cache.php @@ -8,6 +8,9 @@ } else{ $cachefile = $config['thedir']."/zdir/functions/caches/indexes.html"; + + $cacheDir = $config['thedir']."/zdir/functions/caches"; + !is_dir($cacheDir) && mkdir($cacheDir,0777,true); } //echo $cachefile;