2009-12-26, 21:00:54
I want to test whether the user is currently logged in as the admin, and enable the site template to show various things.
how does one go about this? i tried ,
1. including cookied_functions.php
result : blank page
2. using login_cookie_check()...
result : not available to the theme.
3. reading some obvious global variables like $_COOKIE or $_SESSION...
result : nothing contained there.
how does one go about this? i tried ,
1. including cookied_functions.php
result : blank page
2. using login_cookie_check()...
result : not available to the theme.
3. reading some obvious global variables like $_COOKIE or $_SESSION...
result : nothing contained there.
Fear is mindkiller, the little death that obliterates.