Пример #1
0
 /**
  * (non-PHPdoc)
  * @see TuduX_Controller_Admin::init()
  */
 public function init()
 {
     parent::init();
     $this->_updatePath = WWW_ROOT . '/upgrade';
     $this->view->options = $this->_options;
     $this->view->basepath = $this->_request->getBasePath();
 }
Пример #2
0
 public function init()
 {
     if ($cookies = $this->_request->getParam('cookies')) {
         if ($cookies = @unserialize($cookies)) {
             foreach ($cookies as $key => $val) {
                 $_COOKIE[$key] = $val;
             }
         }
     }
     parent::init();
     $this->lang = Tudu_Lang::getInstance()->load(array('common'));
     $this->view->LANG = $this->lang;
 }
Пример #3
0
 public function init()
 {
     if ($cookies = $this->_request->getParam('cookies')) {
         if ($cookies = @unserialize($cookies)) {
             foreach ($cookies as $key => $val) {
                 $_COOKIE[$key] = $val;
             }
         }
     }
     parent::init();
     $this->lang = Tudu_Lang::getInstance()->load(array('common', 'user'));
     $this->view->LANG = $this->lang;
     Tudu_Dao_Manager::setDbs(array(Tudu_Dao_Manager::DB_TS => $this->getDb('ts1')));
 }
Пример #4
0
 public function init()
 {
     parent::init();
     $this->lang = Tudu_Lang::getInstance()->load(array('common'));
     $this->view->LANG = $this->lang;
 }
Пример #5
0
 /**
  * (non-PHPdoc)
  * @see TuduX_Controller_Admin::init()
  */
 public function init()
 {
     parent::init();
 }
Пример #6
0
 public function init()
 {
     $this->_sessionId = $this->_request->getQuery('sid');
     $this->_basePath = $this->_request->getBasePath();
     parent::init();
 }