From 58623eab025164b1872085d8ffec199887e516a0 Mon Sep 17 00:00:00 2001 From: Doug Tabacco Date: Sat, 7 Jul 2012 09:19:36 -0700 Subject: [PATCH] Use '#' instead of '/' as the delimiter for the regex, since it shouldn't occur in the config patterns. --- ironcache/ext.ironcache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ironcache/ext.ironcache.php b/ironcache/ext.ironcache.php index 746a3d1..f24d98f 100755 --- a/ironcache/ext.ironcache.php +++ b/ironcache/ext.ironcache.php @@ -269,7 +269,7 @@ private function _parse_config() } } - elseif(preg_match('/' . $t[0] . '/', $this->uri)) + elseif(preg_match('#' . $t[0] . '#', $this->uri)) { $this->cacheable = true; }