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 |
Jump to:
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.

#1
#2
#3