Vergleich inc/cachehandlers/eaccelerator.php - 1.4.0 - 1.4.12

  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: eaccelerator.php 4053 2008-07-31 04:56:19Z Tikitiki $

 * $Id: eaccelerator.php 4852 2010-04-04 17:38:33Z RyanGordon $

 */

/**

 */

/**

Zeile 19Zeile 19
	 */
var $unique_id;


	 */
var $unique_id;


	function eacceleratorCacheHandler()

	function eacceleratorCacheHandler($silent=false)

	{
if(!function_exists("eaccelerator_get"))
{

	{
if(!function_exists("eaccelerator_get"))
{

			die("eAccelerator needs to be configured with PHP to use the eAccelerator cache support");







			// Check if our DB engine is loaded
if(!extension_loaded("Eaccelerator"))
{
// Throw our super awesome cache loading error
die("eAccelerator needs to be configured with PHP to use the eAccelerator cache support");
$mybb->trigger_generic_error("sql_load_error");
}

		}

		}

 
		return false;

	}

/**

	}

/**

Zeile 37Zeile 44
		global $mybb;

// Set a unique identifier for all queries in case other forums on this server also use this cache handler

		global $mybb;

// Set a unique identifier for all queries in case other forums on this server also use this cache handler

		$this->unique_id = md5($mybb->settings['bburl']);

		$this->unique_id = md5(MYBB_ROOT);


return true;
}


return true;
}