Vergleich inc/cachehandlers/memcache.php - 1.4.10 - 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: memcache.php 4450 2009-09-05 16:06:36Z RyanGordon $

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

 */

/**

 */

/**

Zeile 31Zeile 31
			// Check if our DB engine is loaded
if(!extension_loaded("Memcache"))
{

			// Check if our DB engine is loaded
if(!extension_loaded("Memcache"))
{

				// Try and manually load it - DIRECTORY_SEPARATOR checks if running windows
if(DIRECTORY_SEPARATOR == '\\')
{
@dl('php_memcache.dll');
}
else
{
@dl('memcache.so');
}

// Check again to see if we've been able to load it
if(!extension_loaded("Memcache") && !$silent)
{
// Throw our super awesome cache loading error
die("Your server does not have memcache support enabled.");
$mybb->trigger_generic_error("sql_load_error");
}

				// Throw our super awesome cache loading error
die("Your server does not have memcache support enabled.");
$mybb->trigger_generic_error("sql_load_error");















			}
}
}

			}
}
}