Added missing ending delimiter
authorMatthias Schmidt <gravatronics@live.com>
Mon, 25 Jul 2011 18:08:18 +0000 (20:08 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Mon, 25 Jul 2011 18:08:18 +0000 (20:08 +0200)
wcfsetup/install/files/lib/system/template/TemplateEngine.class.php

index 4e2e374ae7757faaf035f54ec65be4b8662f5aef..710b84d6ef1f3525a4acb937b6fc5582afbe032d 100644 (file)
@@ -599,7 +599,7 @@ class TemplateEngine extends SingletonFactory {
                if (empty($compileDir)) $compileDir = WCF_DIR.'templates/compiled/';
 
                // delete compiled templates
-               DirectoryUtil::getInstance($compileDir)->removePattern('~.*_.*_.*\.php$');
+               DirectoryUtil::getInstance($compileDir)->removePattern('~.*_.*_.*\.php$~');
        }
        
        /**