Posted By

sennesaelium on 10/05/09


Tagged

login check drupal


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

panatlantica
pjmccormick
picxelplay


Drupal, check login


 / Published in: PHP
 

  1. if (user_is_logged_in()) {
  2. $output = t('User is logged in.');
  3. else {
  4. $output = t('User is an anonymous user.');
  5. }

Report this snippet  

You need to login to post a comment.