...and I used it for a whole load of queries. $username seems to be gone now...
I figured the easiest way to fix my problem would be to define the $username variable in SSI.php but... I can't figure out how the username is stored.. I found $context['user']['name'] but that's from the welcome message, so i'm guessing that's the display name.
What do I need?
Thanks for any help.