You are here

function memcache_init in Memcache API and Integration 5.2

File

./memcache.module, line 3

Code

function memcache_init() {
  if (strstr($_SERVER['PHP_SELF'], 'update.php') || strstr($_GET['q'], 'autocomplete')) {

    // update.php relies on standard error handler
  }
  else {
    register_shutdown_function('memcache_shutdown');
  }
}