Call to drupal_bootstrap(DRUPAL_BOOTSTRAP_PATH) in _init hook is needed, because drupal_get_path_alias() is defined in path.module and path.module is not loaded for cached pages.

CommentFileSizeAuthor
path_access.module.patch558 bytesenergie

Comments

budda’s picture

Assigned: Unassigned » budda
Status: Needs review » Fixed

Shows how much I use Drupal's cache :)

Thanks for patch. Applied to HEAD and 4-7 branch.

Anonymous’s picture

Status: Fixed » Closed (fixed)