[development] modify permissions using hook_menu_alter()

Earnie Boyd earnie at users.sourceforge.net
Tue Apr 28 15:21:21 UTC 2009


Quoting Lluís <enboig at gmail.com>:

> the only error in apache is:
> [Tue Apr 28 17:04:49 2009] [error] [client 192.168.1.8] File does not
> exist: /var/www/favicon.ico
>
> I solved it adding:
>   $menu['node/add']['access callback'] = TRUE;
>
> But I think it has to be a better way
>

I would ``touch /var/www/favicon.ico'' and make sure the apache user  
can read it.

--
Earnie
-- http://r-feed.com/           -- http://for-my-kids.com/
-- http://www.4offer.biz/       -- http://give-me-an-offer.com/



More information about the development mailing list