예제 #1
0
파일: STURL.php 프로젝트: runeimp/stf
 public function getProtocol()
 {
     if ($this->protocol === false) {
         if ($this->initialized) {
             $this->parseURI();
         } else {
             $this->protocol = Util::keyIsDefined($_SERVER, 'SERVER_PROTOCOL');
         }
     }
     return $this->protocol;
 }