Does the module itself provide the page?
On Feb 19, 2008 1:40 PM, Jerad Bitner <sirkitree gmail.com> wrote:
> function myfunctionname() {
> global $user;
> if ($user->uid == 0) {
> // user in anon
>
> }
> }
>
> On Feb 19, 2008 1:08 PM, Salgar <salgar gmx.net> wrote:
> > Petr Vacha wrote:
> > > You can use function menu_valid_path()
> >
> > This checks whether the current user can access
the current page - not
> > whether anonymous users may access it. :'(
> >
> > Kind regards,
> >
> > Salgar
> >
>
|