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

noelbush’s picture

Assigned: Unassigned » noelbush
Status: Active » Fixed

You're right -- I should have used hook_menu(). I've just reworked the code to do so. The fix is in CVS.

Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.