Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* $Id: class_datacache.php 4271 2008-11-16 06:20:15Z Tikitiki $
| * $Id: class_datacache.php 5379 2011-02-21 11:06:42Z Tomm $
|
*/
class datacache
| */
class datacache
|
Zeile 24 | Zeile 24 |
---|
* @var object */ var $handler = null;
|
* @var object */ var $handler = null;
|
| /** * Whether or not to exit the script if we cannot load the specified extension * * @var boolean */ var $silent = false;
|
/** * Build cache data.
| /** * Build cache data.
|
Zeile 38 | Zeile 45 |
---|
// Disk cache case "files": require_once MYBB_ROOT."/inc/cachehandlers/disk.php";
|
// Disk cache case "files": require_once MYBB_ROOT."/inc/cachehandlers/disk.php";
|
$this->handler = new diskCacheHandler;
| $this->handler = new diskCacheHandler($this->silent);
|
break; // Memcache cache case "memcache": require_once MYBB_ROOT."/inc/cachehandlers/memcache.php";
|
break; // Memcache cache case "memcache": require_once MYBB_ROOT."/inc/cachehandlers/memcache.php";
|
$this->handler = new memcacheCacheHandler;
| $this->handler = new memcacheCacheHandler($this->silent);
|
break; // eAccelerator cache case "eaccelerator": require_once MYBB_ROOT."/inc/cachehandlers/eaccelerator.php";
|
break; // eAccelerator cache case "eaccelerator": require_once MYBB_ROOT."/inc/cachehandlers/eaccelerator.php";
|
$this->handler = new eacceleratorCacheHandler;
| $this->handler = new eacceleratorCacheHandler($this->silent);
|
break; // Xcache cache case "xcache": require_once MYBB_ROOT."/inc/cachehandlers/xcache.php";
|
break; // Xcache cache case "xcache": require_once MYBB_ROOT."/inc/cachehandlers/xcache.php";
|
$this->handler = new xcacheCacheHandler;
| $this->handler = new xcacheCacheHandler($this->silent);
|
break; } if(is_object($this->handler))
| break; } if(is_object($this->handler))
|