fix
This commit is contained in:
1 parent
c8a6f94a7e
commit
7c74d69987
1 file changed
+11
@@ -222,6 +222,17 @@ class CCache
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Тестовый метод для очистки мемкэша
|
||||||
|
* TODO: переделать
|
||||||
|
*/
|
||||||
|
public static function memcacheFlush($name) {
|
||||||
|
$memcache = memcache_connect('localhost', 11211);
|
||||||
|
$memcache_obj->flush();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
Reference in new issue
Block a user