/** * (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(); }
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; }
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'))); }
public function init() { parent::init(); $this->lang = Tudu_Lang::getInstance()->load(array('common')); $this->view->LANG = $this->lang; }
/** * (non-PHPdoc) * @see TuduX_Controller_Admin::init() */ public function init() { parent::init(); }
public function init() { $this->_sessionId = $this->_request->getQuery('sid'); $this->_basePath = $this->_request->getBasePath(); parent::init(); }