uphpCAS.php | ●●●●● patch | view | raw | blame | history |
uphpCAS.php
@@ -23,6 +23,15 @@ if($serviceUrl != NULL) { $this->serviceUrl = $serviceUrl; } else { $this->serviceUrl = $this->getCurrentUrl(); } if($sessionName) { $this->sessionName = $sessionName; } } public function getCurrentUrl() { $url = 'http://'; $port = 0; if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') { @@ -42,13 +51,6 @@ $url .= ':'.$port; } $url .= $_SERVER['REQUEST_URI']; $this->serviceUrl = $url; } if($sessionName) { $this->sessionName = $sessionName; } } public function getServerUrl() {