Fork me on GitHub
Please upgrade to 2.1.x here. The 2.0 branch is no longer being updated.
Important security fix: 2.1.10, released 4 May.

Solved: The shortest way to detect Guest in the code

edited June 2012 in Vanilla 2.0 Help
   if (!Gdn::Session()->IsValid()) 
   {
      $res .= ' (GUEST)';
   }

Comments

Sign In or Register to comment.