Vergleich inc/cachehandlers/eaccelerator.php - 1.4.9 - 1.4.16

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

 * $Id: eaccelerator.php 5379 2011-02-21 11:06:42Z Tomm $

 */

/**

 */

/**

Zeile 26Zeile 26
			// Check if our DB engine is loaded
if(!extension_loaded("Eaccelerator"))
{

			// 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");
}

				// 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;

			}
}
return false;

Zeile 58Zeile 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;
}