Skip to content

Commit

Permalink
refs #182 : add '.' at memcache key
Browse files Browse the repository at this point in the history
  • Loading branch information
yupmin committed Jun 4, 2015
1 parent 009148c commit 8154067
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/cache/Memcache.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function set($key, $value, $expirationDue = 0) {
if (!empty($this->__namespace)) {
$key = $this->getNamespaceHash() . '.' . $key;
} else {
$key = $this->getNamespaceHash('global') . $key;
$key = $this->getNamespaceHash('global') . '.' .$key;
}
}
$this->memcache->set($key, $value, 0, $expirationDue);
Expand All @@ -42,7 +42,7 @@ public function get($key, $clear = false) {
if (!empty($this->__namespace)) {
$key = $this->getNamespaceHash() . '.' . $key;
} else {
$key = $this->getNamespaceHash('global') . $key;
$key = $this->getNamespaceHash('global') . '.' .$key;
}
}
return $this->memcache->get($key);
Expand Down

1 comment on commit 8154067

@yupmin
Copy link
Member Author

@yupmin yupmin commented on 8154067 Jun 4, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

refs #1821 입니다. -_-;

Please sign in to comment.