allow admin to remember the login
This commit is contained in:
parent
1a93953fe1
commit
52d70da5d1
|
@ -178,7 +178,7 @@ class AccountController extends Zend_Controller_Action
|
|||
$sql="select usertype from users where username='$u'";
|
||||
$rs=$db->query($sql);
|
||||
$row=$rs->fetch();
|
||||
if($row['usertype']!='administrator')
|
||||
//if($row['usertype']!='administrator')
|
||||
{
|
||||
require_once 'member.php';
|
||||
$mb = new member();
|
||||
|
|
Loading…
Reference in New Issue