Added another missing ending delimiter
authorMatthias Schmidt <gravatronics@live.com>
Mon, 25 Jul 2011 18:13:11 +0000 (20:13 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Mon, 25 Jul 2011 18:13:11 +0000 (20:13 +0200)
wcfsetup/install/files/lib/system/cache/source/DiskCacheSource.class.php

index bc9acf1d69cfb4b2615e0f088fa620553d927cec..ee305614452f41626c465e7777080824a32dfd68 100644 (file)
@@ -202,7 +202,7 @@ class DiskCacheSource implements ICacheSource {
                while ($row = $statement->fetchArray()) {
                        $packageDir = FileUtil::getRealPath(WCF_DIR.$row['packageDir']);
                        $cacheDir = $packageDir.'cache';
-                       DirectoryUtil::getInstance($cacheDir)->removePattern('~.*\.php$');
+                       DirectoryUtil::getInstance($cacheDir)->removePattern('~.*\.php$~');
                }
        }
 }