]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Corrected bug in cache purge.
authorSébastien SAUVAGE <sebsauvage@sebsauvage.net>
Tue, 26 Feb 2013 15:03:47 +0000 (16:03 +0100)
committerSébastien SAUVAGE <sebsauvage@sebsauvage.net>
Tue, 26 Feb 2013 15:03:47 +0000 (16:03 +0100)
index.php

index 569a8bb416d3ca994046dd8a25f57168c6fef17f..3349ff7af8414a1f8113284bfc79da3107be0713 100644 (file)
--- a/index.php
+++ b/index.php
@@ -172,7 +172,7 @@ class pageCache
         if (is_dir($GLOBALS['config']['PAGECACHE']))
         {
             $handler = opendir($GLOBALS['config']['PAGECACHE']);
-            if ($handle!==false)
+            if ($handler!==false)
             {
                 while (($filename = readdir($handler))!==false) 
                 {