Vergleich inc/cachehandlers/eaccelerator.php - 1.4.2 - 1.4.5

  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 4304 2009-01-02 01:11:56Z chris $

 */

/**

 */

/**

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"))
{
// Try and manually load it - DIRECTORY_SEPARATOR checks if running windows
if(DIRECTORY_SEPARATOR == '\\')
{
@dl('php_eaccelerator.dll');
}
else
{
@dl('eaccelerator.so');
}

// Check again to see if we've been able to load it
if(!extension_loaded("Eaccelerator") && !$silent)
{
// 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;

	}

/**

	}

/**