function initHttpRequest() { $this->initConverter(); if (isset($_SERVER['REMOTE_ADDR'])) { $this->useClass('HttpRequest', $this->getDir()); $this->request = new HttpRequest( $this->getErrorHandler(), $this->converter->getLabelCharset(), $this->httpRequestThrowsExp ); $alias = $this->isFunkyUrls() ? $this->funkyAlias : null; $this->request->initHttpData($alias); $this->requestData = $this->request->getRequestData(); } } |