? cacherouter.map.patch
? cacherouter.page_cache_fastpath.patch
? cacherouter.prefix.patch
? cacherouter/._CacheRouter.php
Index: cacherouter/CacheRouter.php
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/cacherouter/CacheRouter.php,v
retrieving revision 1.1
diff -u -r1.1 CacheRouter.php
--- cacherouter/CacheRouter.php	31 Mar 2008 08:40:50 -0000	1.1
+++ cacherouter/CacheRouter.php	30 May 2008 00:34:32 -0000
@@ -13,7 +13,7 @@
   private function __init($bin) {
     global $conf;
     
-    if (isset($conf['cacherouter'][$bin]['engine']) && !isset($map[$bin])) {
+    if (isset($conf['cacherouter'][$bin]['engine']) && !isset($this->map[$bin])) {
       $type = strtolower($conf['cacherouter'][$bin]['engine']);
     }
     else {
@@ -30,35 +30,35 @@
   }
   
   public function get($key, $bin) {
-    if (!isset($map[$bin])) {
+    if (!isset($this->map[$bin])) {
       $this->__init($bin);
     }
     return $this->map[$bin]->get($key);
   }
 
   public function set($key, $value, $expire, $headers, $bin) {
-    if (!isset($map[$bin])) {
+    if (!isset($this->map[$bin])) {
       $this->__init($bin);
     }
     return $this->map[$bin]->set($key, $value, $expire, $headers);
   }
 
   public function delete($key, $bin) {
-    if (!isset($map[$bin])) {
+    if (!isset($this->map[$bin])) {
       $this->__init($bin);
     }
     return $this->map[$bin]->delete($key);
   }
 
   public function flush($bin) {
-    if (!isset($map[$bin])) {
+    if (!isset($this->map[$bin])) {
       $this->__init($bin);
     }
     return $this->map[$bin]->flush();
   }
   
   public function page_fast_cache($bin) {
-    if (!isset($map[$bin])) {
+    if (!isset($this->map[$bin])) {
       $this->__init($bin);
     }
     return $this->map