Added Super Admin role and WHMCS login

This commit is contained in:
Albert Santoni 2014-06-17 17:40:55 -04:00
parent e5a74e7285
commit 7f6fc7770a
8 changed files with 197 additions and 9 deletions

View file

@ -117,8 +117,7 @@ class Zend_Controller_Plugin_Acl extends Zend_Controller_Plugin_Abstract
return;
}
if (in_array($controller, array("api", "auth", "locale", "upgrade"))) {
if (in_array($controller, array("api", "auth", "locale", "upgrade", 'whmcs-login'))) {
$this->setRoleName("G");
} elseif (!Zend_Auth::getInstance()->hasIdentity()) {