removeTheMagic(); $this->POST =& $_POST; $this->GET =& $_GET; $this->REQUEST =& $_REQUEST; $this->COOKIE =& $_COOKIE; $this->FILES =& $_FILES; $this->query = $query; $this->method = $_SERVER['REQUEST_METHOD']; $this->uri = $_SERVER['REQUEST_URI']; $this->remote_addr = $_SERVER['REMOTE_ADDR']; $this->http_host = (isset($_SERVER['HTTP_HOST'])) ? $_SERVER['HTTP_HOST'] : ''; $this->SERVER =& $_SERVER; $this->uid = $GLOBALS['_PX_uniqid']; $this->time = (isset($_SERVER['REQUEST_TIME'])) ? $_SERVER['REQUEST_TIME'] : time(); } }