Zeile 6 | Zeile 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 4372 2009-05-15 16:13:13Z Tomm $
| * $Id: memcache.php 4852 2010-04-04 17:38:33Z RyanGordon $
|
*/
/**
| */
/**
|
Zeile 31 | Zeile 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");
|
} } }
| } } }
|
Zeile 79 | Zeile 65 |
---|
}
// Set a unique identifier for all queries in case other forums are using the same memcache server
|
}
// Set a unique identifier for all queries in case other forums are using the same memcache server
|
$this->unique_id = md5($mybb->settings['bburl']);
| $this->unique_id = md5(MYBB_ROOT);
|
return true; }
| return true; }
|