I am trying to write a module but seem to have screwed something up.
I think before someone logs into D6 the user_load() should already have been called and loaded up $user with the "anonymous user" role. But for me, now, it isn't. Any idea what I might have screwed up to cause that?
Thanks Doug
Doug ha scritto:
I am trying to write a module but seem to have screwed something up.
I think before someone logs into D6 the user_load() should already have been called and loaded up $user with the "anonymous user" role.
$user->uid = 0 is the anonymous user.
M.