[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.
Not something fantastic. I just realize this. :p
if ($my->id) { // Do something here }
Not something fantastic. I just realize this. :p
Comments
Post a Comment