示例#1
0
文件: Server.php 项目: aoyel/angel
 public function init()
 {
     parent::init();
     $this->pidfile = Angel::app()->runtimePath . DIRECTORY_SEPARATOR . "socket_server.pid";
     $this->logfile = Angel::app()->runtimePath . DIRECTORY_SEPARATOR . "socket_server.log";
 }
示例#2
0
文件: Session.php 项目: aoyel/angel
 public function init()
 {
     parent::init();
     $this->start();
     register_shutdown_function([$this, 'close']);
 }
示例#3
0
文件: View.php 项目: aoyel/angel
 public function init()
 {
     parent::init();
 }
示例#4
0
文件: Request.php 项目: aoyel/angel
 public function init()
 {
     parent::init();
     $this->filterRequest();
 }