Corrected bug in cache purge.
This commit is contained in:
parent
543e0c7b56
commit
64bf914aea
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue