gbinghan[dev-blog]
/* Life runs on code */
About
Android
eBook
Joomla
Magento
Programming
Samsung
Thursday, September 15, 2011
[Joomla] Check If user logged in
Just realize there this
$my
variable that conveniently lets you access the user id of a (logged in) user on the site.
if ($my->id) { // Do something here }
Not something fantastic. I just realize this. :p
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment