What's the best way to tell if user is logged in as ADMIN?
#5
This user has been denied support. This user has been denied support.
You get it when you include MyBB's global.php. If you want to be independent, you'll have to look at the cookie first and then talk to the database to verify that the cookies are indeed correct. Basically what MyBB does in it's init / session
Reply


Messages In This Thread
RE: What's the best way to tell if user is logged in as ADMIN? - by frostschutz - 2011-08-10, 11:01 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)