diff options
author | Sébastien SAUVAGE <sebsauvage@sebsauvage.net> | 2013-02-26 16:03:47 +0100 |
---|---|---|
committer | Sébastien SAUVAGE <sebsauvage@sebsauvage.net> | 2013-02-26 16:03:47 +0100 |
commit | 64bf914aea0c692784df53f844173bc9356d2899 (patch) | |
tree | 3ba57254294c4979f75ae060a13c9418de5e82d7 /index.php | |
parent | 543e0c7b560bd43e7c32cf76a6e4278fc31397a8 (diff) | |
download | Shaarli-64bf914aea0c692784df53f844173bc9356d2899.tar.gz Shaarli-64bf914aea0c692784df53f844173bc9356d2899.tar.zst Shaarli-64bf914aea0c692784df53f844173bc9356d2899.zip |
Corrected bug in cache purge.
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -172,7 +172,7 @@ class pageCache | |||
172 | if (is_dir($GLOBALS['config']['PAGECACHE'])) | 172 | if (is_dir($GLOBALS['config']['PAGECACHE'])) |
173 | { | 173 | { |
174 | $handler = opendir($GLOBALS['config']['PAGECACHE']); | 174 | $handler = opendir($GLOBALS['config']['PAGECACHE']); |
175 | if ($handle!==false) | 175 | if ($handler!==false) |
176 | { | 176 | { |
177 | while (($filename = readdir($handler))!==false) | 177 | while (($filename = readdir($handler))!==false) |
178 | { | 178 | { |