Merge branch 'airtime-2.0.x' into devel
This commit is contained in:
commit
087d893a60
8 changed files with 38 additions and 19 deletions
|
@ -10,6 +10,8 @@ class LoginController extends Zend_Controller_Action
|
|||
|
||||
public function indexAction()
|
||||
{
|
||||
global $CC_CONFIG;
|
||||
|
||||
if(Zend_Auth::getInstance()->hasIdentity())
|
||||
{
|
||||
$this->_redirect('Nowplaying');
|
||||
|
@ -80,11 +82,14 @@ class LoginController extends Zend_Controller_Action
|
|||
}
|
||||
}
|
||||
|
||||
$this->view->message = $message;
|
||||
$this->view->error = $error;
|
||||
$this->view->form = $form;
|
||||
$this->view->airtimeVersion = Application_Model_Preference::GetAirtimeVersion();
|
||||
$this->view->airtimeCopyright = AIRTIME_COPYRIGHT_DATE;
|
||||
$this->view->message = $message;
|
||||
$this->view->error = $error;
|
||||
$this->view->form = $form;
|
||||
$this->view->airtimeVersion = Application_Model_Preference::GetAirtimeVersion();
|
||||
$this->view->airtimeCopyright = AIRTIME_COPYRIGHT_DATE;
|
||||
if(isset($CC_CONFIG['demo'])){
|
||||
$this->view->demo = $CC_CONFIG['demo'];
|
||||
}
|
||||
}
|
||||
|
||||
public function logoutAction()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue