コード例 #1
0
ファイル: httprequest.php プロジェクト: ASDAFF/open_bx
 public function getRequestedPage()
 {
     if ($this->requestedFile != null) {
         return $this->requestedFile;
     }
     $page = $this->getRequestUri();
     if (empty($page)) {
         $this->requestedFile = parent::getRequestedPage();
         return $this->requestedFile;
     }
     $page = urldecode($page);
     $page = Text\Encoding::convertEncodingToCurrent($page);
     $this->requestedFile = $this->convertToPath($page);
     return $this->requestedFile;
 }