-improved now-playing page
This commit is contained in:
parent
ac638c2e39
commit
c109fb5f01
7 changed files with 54 additions and 36 deletions
|
@ -110,8 +110,11 @@ class Zend_Controller_Plugin_Acl extends Zend_Controller_Plugin_Abstract
|
|||
public function preDispatch(Zend_Controller_Request_Abstract $request)
|
||||
{
|
||||
$controller = strtolower($request->getControllerName());
|
||||
|
||||
if (!Zend_Auth::getInstance()->hasIdentity()){
|
||||
|
||||
if ($controller == 'api'){
|
||||
$this->setRoleName("G");
|
||||
|
||||
} else if (!Zend_Auth::getInstance()->hasIdentity()){
|
||||
|
||||
if ($controller !== 'login') {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue