Fixing APC with latest version of PHP
Adding ability for user to request repo and staff members to approve repos - issue 9 Fixing issue 11 adding caching for requesting file contents with mercurial Fixing issue 10 user profiles only show the projects that they are an owner on
This commit is contained in:
@@ -94,7 +94,7 @@ class Pluf_Cache_Apc extends Pluf_Cache
|
||||
public function get($key, $default=null)
|
||||
{
|
||||
$success = false;
|
||||
$value = apc_fetch($this->keyprefix.$key, &$success);
|
||||
$value = apc_fetch($this->keyprefix.$key, $success);
|
||||
if (!$success) return $default;
|
||||
if ($this->compress) $value = gzinflate($value);
|
||||
return unserialize($value);
|
||||
|
@@ -27,7 +27,8 @@
|
||||
*/
|
||||
class Pluf_Search_ResultSet implements Iterator
|
||||
{
|
||||
protected $results = array();
|
||||
// Needs to be public for using in Wiki when there are over 100 pages
|
||||
public $results = array();
|
||||
|
||||
public function __construct($search_res)
|
||||
{
|
||||
|
Reference in New Issue
Block a user