/ Published in: PHP
Expand |
Embed | Plain Text
<?php global $user; // Check to see if $user has the administrator role. // Do something. } ?>
You need to login to post a comment.
arul20 on 02/21/09
administrator drupal admin role
2 people have marked this snippet as a favorite