Stopped redirecting to /login if no valid session
This commit is contained in:
parent
de8edf982a
commit
7d1b112db9
4 changed files with 47 additions and 5 deletions
|
@ -10,7 +10,14 @@ class IndexController extends Zend_Controller_Action
|
|||
|
||||
public function indexAction()
|
||||
{
|
||||
$this->_forward('index', 'showbuilder');
|
||||
$CC_CONFIG = Config::getConfig();
|
||||
$baseUrl = Application_Common_OsPath::getBaseDir();
|
||||
$this->view->headLink()->appendStylesheet($baseUrl.'css/landing-page.css?'.$CC_CONFIG['airtime_version']);
|
||||
$this->_helper->layout->setLayout('login');
|
||||
|
||||
$this->view->stationLogo = Application_Model_Preference::GetStationLogo();
|
||||
$this->view->stationName = Application_Model_Preference::GetStationName();
|
||||
$this->view->stationDescription = Application_Model_Preference::GetStationDescription();
|
||||
}
|
||||
|
||||
public function mainAction()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue