Exemple #1
0
 /**
  * Called when the request wakes up
  * @return void
  */
 public function onWakeup()
 {
     parent::onWakeup();
     $_GET =& $this->attrs->get;
     $_POST =& $this->attrs->post;
     $_COOKIE =& $this->attrs->cookie;
     $_REQUEST =& $this->attrs->request;
     $_SESSION =& $this->attrs->session;
     $_FILES =& $this->attrs->files;
     $_SERVER =& $this->attrs->server;
 }
Exemple #2
0
 /**
  * Called when the request wakes up
  * @return void
  */
 public function onWakeup()
 {
     parent::onWakeup();
     if (!Daemon::$obInStack) {
         // preventing recursion
         @ob_flush();
     }
     $_GET =& $this->attrs->get;
     $_POST =& $this->attrs->post;
     $_COOKIE =& $this->attrs->cookie;
     $_REQUEST =& $this->attrs->request;
     $_SESSION =& $this->attrs->session;
     $_FILES =& $this->attrs->files;
     $_SERVER =& $this->attrs->server;
 }