Corrected bug in cache purge.

This commit is contained in:
Sébastien SAUVAGE 2013-02-26 16:03:47 +01:00
parent 543e0c7b56
commit 64bf914aea

View file

@ -172,7 +172,7 @@ class pageCache
if (is_dir($GLOBALS['config']['PAGECACHE'])) if (is_dir($GLOBALS['config']['PAGECACHE']))
{ {
$handler = opendir($GLOBALS['config']['PAGECACHE']); $handler = opendir($GLOBALS['config']['PAGECACHE']);
if ($handle!==false) if ($handler!==false)
{ {
while (($filename = readdir($handler))!==false) while (($filename = readdir($handler))!==false)
{ {