index 77b11f7e039939fe86f133f994cc7baa821ce80b..fd47ec861e21926b9c56b71cb041aad90bf9994f 100644 (file)
{
var $c_memcache = NULL;
var $b_connected= FALSE;
{
var $c_memcache = NULL;
var $b_connected= FALSE;
-
+
function __construct()
{
$this->connect();
function __construct()
{
$this->connect();
$this->close();
if(class_exists("Memcache")){
$this->c_memcache = new Memcache;
$this->close();
if(class_exists("Memcache")){
$this->c_memcache = new Memcache;
- $res = $this->c_memcache->connect("localhost",11211);
+ $res = $this->c_memcache->pconnect("localhost",11211);
if(!$res){
$this->b_connected = FALSE;
$this->c_memcache = NULL;
if(!$res){
$this->b_connected = FALSE;
$this->c_memcache = NULL;