19 Feb
2008
19 Feb
'08
7:40 p.m.
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