Skip to content

Commit

Permalink
Namespaced the Wincache adapter's internal persistent ID.
Browse files Browse the repository at this point in the history
  • Loading branch information
boenrobot committed Jan 22, 2012
1 parent 3710be3 commit df5081f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/PEAR2/Cache/SHM/Adapter/Wincache.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ public function __construct($persistentId)
'$persistentId must not contain "\"', 200
);
}
$this->persistentId = $persistentId . ' ';
$this->persistentId
= str_replace('\\', '/', __NAMESPACE__) . '/Wincache ' .
$persistentId . ' ';
if (isset(static::$requestInstances[$this->persistentId])) {
static::$requestInstances[$this->persistentId]++;
} else {
Expand Down

0 comments on commit df5081f

Please sign in to comment.