diff --git a/modules/authcache_p13n/authcache_p13n.module b/modules/authcache_p13n/authcache_p13n.module index 6ae9dce..6c86efb 100644 --- a/modules/authcache_p13n/authcache_p13n.module +++ b/modules/authcache_p13n/authcache_p13n.module @@ -931,23 +931,6 @@ function authcache_p13n_authcache_p13n_base_request() { /** - * Implements hook_authcache_p13n_base_request(). - * - * Disable all redirection features inside requests to the personalization - * front controller when Global Redirect module exists. - */ -function globalredirect_authcache_p13n_base_request() { - $gr_keys = array_keys(_globalredirect_get_settings(TRUE)); - - return array( - 'conf override' => array( - 'globalredirect_settings' => array_fill_keys($gr_keys, 0), - ), - ); -} - - -/** * Implements hook_authcache_p13n_request(). */ function authcache_p13n_authcache_p13n_request() { diff --git a/modules/authcache_p13n/frontcontroller/index.php b/modules/authcache_p13n/frontcontroller/index.php index ec4b8d2..b6e6fde 100644 --- a/modules/authcache_p13n/frontcontroller/index.php +++ b/modules/authcache_p13n/frontcontroller/index.php @@ -20,7 +20,7 @@ if ($drupalroot == $__file__) { // Relocate contents of $_SERVER variabl to DRUPAL_ROOT by removing path // componints pointing to the authcache front controller. $preg = '|' . preg_quote(substr($__file__, strlen($drupalroot) + 1), '|') . '|'; -$_SERVER = preg_replace($preg, 'index.php', $_SERVER); +$_SERVER = preg_replace($preg, 'authcache.php', $_SERVER); // Change working directory and define the essential DRUPAL_ROOT constant. chdir($drupalroot);