[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


Popular posts from this blog


Generate GoDaddy SSL Certificate (.crt) for Azure Websites (.pfx)

PayDollar Test Credit Cards