示例#1
0
文件: Dispatcher.php 项目: psfs/Core
 /**
  * Initializer method
  */
 public function init()
 {
     Logger::log('Dispatcher init');
     parent::init();
     $this->initiateStats();
     $this->setLocale();
     $this->bindWarningAsExceptions();
     $this->actualUri = $this->parser->getServer("REQUEST_URI");
     Logger::log('End dispatcher init');
 }
示例#2
0
 public function init()
 {
     parent::init();
 }
示例#3
0
文件: Controller.php 项目: c15k0/psfs
 public function init()
 {
     parent::init();
     $this->setDomain($this->domain)->setTemplatePath(Config::getInstance()->getTemplatePath());
 }