Initial import
This commit is contained in:
parent
8275e06fcc
commit
f00b30d0e2
15
public/include/classes/memcached.class.php
Normal file
15
public/include/classes/memcached.class.php
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A wrapper class which provides compatibility between Memcached and Memcache
|
||||||
|
* PHP uses the Memcached class on *nix environments, and the Memcache class
|
||||||
|
* on Windows. This class provides compatibility between the two.
|
||||||
|
**/
|
||||||
|
class Memcached
|
||||||
|
extends Memcache
|
||||||
|
{
|
||||||
|
public function set($key, $value, $expiration = 0)
|
||||||
|
{
|
||||||
|
return parent::set($key, $value, 0, $expiration);
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user