aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSébastien SAUVAGE <sebsauvage@sebsauvage.net>2013-02-26 16:03:47 +0100
committerSébastien SAUVAGE <sebsauvage@sebsauvage.net>2013-02-26 16:03:47 +0100
commit64bf914aea0c692784df53f844173bc9356d2899 (patch)
tree3ba57254294c4979f75ae060a13c9418de5e82d7
parent543e0c7b560bd43e7c32cf76a6e4278fc31397a8 (diff)
downloadShaarli-64bf914aea0c692784df53f844173bc9356d2899.tar.gz
Shaarli-64bf914aea0c692784df53f844173bc9356d2899.tar.zst
Shaarli-64bf914aea0c692784df53f844173bc9356d2899.zip
Corrected bug in cache purge.
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 569a8bb4..3349ff7a 100644
--- a/index.php
+++ b/index.php
@@ -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 {