drupal_get_path should not be called in hook_init

mcarbone - August 9, 2007 - 21:16
Project:Troll
Version:5.x-2.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:jaydub
Status:active
Description

hook_init is the only hook that is called during bootstrapping, so if a page is cached, drupal_get_path will not get included.

see: http://drupal.org/node/45190

#1

jaydub - April 2, 2008 - 16:22
Version:HEAD» 5.x-1.x-dev

#2

jaydub - September 21, 2008 - 12:16
Priority:normal» critical
Assigned to:Anonymous» jaydub

#3

deekayen - May 5, 2009 - 20:49
Version:5.x-1.x-dev» 5.x-2.x-dev
 
 

Drupal is a registered trademark of Dries Buytaert.