Quote:
Originally Posted by magnus
You couldn't hook this into init_startup rather than requiring a file edit?
|
I'm afraid not.
That hook is called before the session has been created and we have the user who is currently logged on. Until we have a session we do not know whether the user who is logged on is set to be invisible.
Ideally there would be a
init_completed hook and we could use that, but there isn't one so to avoid hooking the start of every single other script, I insert the 3 lines to the end of init.php.