Return to Snippet

Revision: 18617
at October 5, 2009 05:21 by sennesaelium


Initial Code
if (user_is_logged_in()) {
$output = t('User is logged in.');
else {
$output = t('User is an anonymous user.');
}

Initial URL


Initial Description


Initial Title
Drupal, check login

Initial Tags
login, drupal

Initial Language
PHP