public function getRequestedPagePath() { if ($this->_pagePath === null) { $this->_pagePath = strtr($this->determineRequestedPagePath(), '/\\', '..'); if (empty($this->_pagePath)) { throw new THttpException(404, 'pageservice_page_required'); } } return $this->_pagePath; }