Exemplo n.º 1
0
 public function init()
 {
     parent::init();
     $this->view->languages = Axis::model('locale/option_language')->toArray();
     $this->view->sites = Axis::model('core/option_site')->toArray();
     $this->view->locales = Axis::single('locale/language')->select()->fetchAssoc();
     $this->view->adminUrl = '/' . trim(Axis::config('core/backend/route'), '/ ');
 }
Exemplo n.º 2
0
 public function init()
 {
     parent::init();
     Axis::single('account/customer')->checkIdentity();
     $this->_helper->breadcrumbs(array('label' => Axis::translate('core')->__('Home'), 'route' => 'core'));
     // fix to remove duplicate favicon, canonical when forwarding request
     $this->view->headLink()->getContainer()->exchangeArray(array());
 }
Exemplo n.º 3
0
 public function init()
 {
     parent::init();
     Axis::single('account/customer')->checkIdentity();
     $this->_helper->breadcrumbs(array('label' => Axis::translate('core')->__('Home'), 'route' => 'core'));
     // fix to remove duplicate favicon, canonical when forwarding request
     // this is not an option, because we should allow to add resources from the bootstrap in future
     // $this->view->headLink()->getContainer()->exchangeArray(array());
 }
Exemplo n.º 4
0
 public function init()
 {
     parent::init();
     Axis::single('account/customer')->checkIdentity();
     $this->_helper->breadcrumbs(array('label' => Axis::translate('core')->__('Home'), 'route' => 'core'));
 }
Exemplo n.º 5
0
 public function init()
 {
     parent::init();
     $this->view->adminUrl = '/' . trim(Axis::config('core/backend/route'), '/ ');
 }