1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Allow forget password page to be seen by main admin while logged in.

This commit is contained in:
Cameron
2012-12-02 18:13:57 -08:00
parent d1699c5c85
commit fad23d61df

View File

@@ -16,7 +16,7 @@ require_once('class2.php');
include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/lan_'.e_PAGE);
$tp = e107::getParser();
if (USER)
if (USER && !getperms('0'))
{
header('location:'.e_BASE.'index.php');
exit;