I am trying to make a library section to the web site, I am currently building.At the moment it is being build up by AV library(OS).
I have a one problem that how I can identify if the user is logged in as admin, is the anything like if(!is_logged_in()) ? I tried to find from the CMSms source code but it looks really complicated to get what I want.
Admin approval
Re: Admin approval
Need a lot more information regarding your CMSMS version, what modules you're using, why/when you need to check to see if the user is logged in, etc.
Re: Admin approval
If you're writing a module you can simply do:
Regards,
D
Code: Select all
check_login();
D