Stopped redirecting to /login if no valid session

This commit is contained in:
drigato 2015-04-21 11:26:48 -04:00
parent de8edf982a
commit 7d1b112db9
4 changed files with 47 additions and 5 deletions

View file

@ -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()