Posted By

sinecera on 04/21/09


Tagged

user concrete5


Versions (?)

If user is logged in, do this - Concrete5


 / Published in: PHP
 

  1. <?php global $u;
  2. if ($u -> isLoggedIn ()) { ?>
  3. //Do Something
  4. <?php } ?>

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: Vordreller on April 21, 2009

Pretty useless snippet, since you don't detail how isLoggedIn() works.

This site isn't meant to store your personal snippets, it's a repository for pieces of code/functions that everyone everywhere can use, not just some backup for your code.

Posted By: jfherring on June 4, 2009

@Vordreller I think it is a function of the Concrete5 CMS, which is clearly one of the tags of this snippet. Why don't you try opening your eyes before you start ripping on someone for posting?

Posted By: jfherring on June 4, 2009

@Vordreller I think it is a function of the Concrete5 CMS, which is clearly one of the tags of this snippet. Why don't you try opening your eyes before you start ripping on someone for posting?

You need to login to post a comment.