Text only
|
Text with Images
coppermine-gallery.com/forum
Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: mundus on March 11, 2006, 08:37:29 PM
Title:
Admin check
Post by:
mundus
on
March 11, 2006, 08:37:29 PM
Hello guys,
I need some help, I want to check if the user is a admin but I can't get the code right, does anyone knows the right code?
Thanks in advance,
Arjen
Title:
Re: Admin check
Post by:
Nibbler
on
March 11, 2006, 08:38:51 PM
Code
Select
Expand
if (GALLERY_ADMIN_MODE){
echo 'hello admin';
} else {
echo 'hello normal user';
}
Text only
|
Text with Images