function prod_check_memcache in Production check & Production monitor 7
Same name and namespace in other branches
- 6 includes/prod_check.admin.inc \prod_check_memcache()
Integration of the Memcache status page.
1 string reference to 'prod_check_memcache'
- prod_check_menu in ./
prod_check.module - Implementation of hook_menu()
File
- includes/
prod_check.admin.inc, line 1059
Code
function prod_check_memcache() {
// Memcache module defaults to 127.0.0.1:11211
$memcache_servers = variable_get('memcache_servers', array(
'127.0.0.1:11211' => 'default',
));
global $MEMCACHE_SERVERS;
$MEMCACHE_SERVERS = array_keys($memcache_servers);
include drupal_get_path('module', 'prod_check') . '/includes/prod_check.memcache.inc';
exit;
}