From 64bf914aea0c692784df53f844173bc9356d2899 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20SAUVAGE?= Date: Tue, 26 Feb 2013 16:03:47 +0100 Subject: [PATCH] Corrected bug in cache purge. --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 569a8bb4..3349ff7a 100644 --- a/index.php +++ b/index.php @@ -172,7 +172,7 @@ public static function purgeCache() if (is_dir($GLOBALS['config']['PAGECACHE'])) { $handler = opendir($GLOBALS['config']['PAGECACHE']); - if ($handle!==false) + if ($handler!==false) { while (($filename = readdir($handler))!==false) {