Do the admin check properly.
authorKevin Squire <gentgeen@wikiak.org>
Sat, 20 Feb 2010 08:58:08 +0000 (10:58 +0200)
committerHeikki Hokkanen <hoxu@users.sf.net>
Sat, 20 Feb 2010 08:58:08 +0000 (10:58 +0200)
commitfa07ea902aba08e15103b85cd6bf3764fd28d1a5
tree8b44ef5cdc2f63d1c6858a4a918e672fb32f330f
parent11bf0c79dfed93c65464a8c40428e3469305aa22
Do the admin check properly.

We use auth_isadmin() instead of checking
$_SERVER['REMOTE_USER'] == $conf['superuser'] now.

[hoxu@users.sf.net: created patch + wrote commit message from an e-mail]

Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
code.php