Vergleich inc/class_datacache.php - 1.4.4 - 1.4.11

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 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 4305 2009-01-02 08:05:39Z Tikitiki $

 */

class datacache

 */

class datacache

Zeile 24Zeile 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 38Zeile 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))