内核更新
This commit is contained in:
2
core/library/think/cache/driver/Xcache.php
vendored
2
core/library/think/cache/driver/Xcache.php
vendored
@@ -94,6 +94,7 @@ class Xcache
|
||||
*/
|
||||
public function inc($name, $step = 1)
|
||||
{
|
||||
$name = $this->options['prefix'] . $name;
|
||||
return xcache_inc($name, $step);
|
||||
}
|
||||
|
||||
@@ -106,6 +107,7 @@ class Xcache
|
||||
*/
|
||||
public function dec($name, $step = 1)
|
||||
{
|
||||
$name = $this->options['prefix'] . $name;
|
||||
return xcache_dec($name, $step);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user