Closed (fixed)
Project:
Image Path
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
13 Mar 2008 at 11:31 UTC
Updated:
27 Mar 2008 at 21:41 UTC
Hi,
The Image path module implements a nice idea, but I'm wondering about the usage of hook_init, which could create problems/conflicts.
At first sight, the code in imagepath_init() seems to be duplication of the already exisiting functionality of hook_menu(). Is there any reason you do it that way and not just with the standard way in the $may_cache=FALSE branch of hook_menu?
(e.g. look at the bottom part of http://api.drupal.org/api/function/node_menu/5)
Comments
Comment #1
noelbush commentedYou're right -- I should have used hook_menu(). I've just reworked the code to do so. The fix is in CVS.
Thanks!
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.