diff --git a/404.php b/404.php index 91663296..364ae33a 100644 --- a/404.php +++ b/404.php @@ -1,11 +1,19 @@ init(); + +if($cache->get("404glob") == false){ $files = glob("404/*.*"); +$cache->set("404glob", $files); +}else +$files = $cache->get("404glob"); if(count($files) == 0) $errorimage = "";