@@ -200,7 +200,7 @@ discard block |
||
200 | 200 | |
201 | 201 | public function getRequestUri() |
202 | 202 | { |
203 | - return $this->getServerConstant('HTTP_HOST') . $this->getServerConstant('REQUEST_URI'); |
|
203 | + return $this->getServerConstant('HTTP_HOST').$this->getServerConstant('REQUEST_URI'); |
|
204 | 204 | } |
205 | 205 | |
206 | 206 | /** |
@@ -208,7 +208,7 @@ discard block |
||
208 | 208 | * @param string $newlang new UI language to set |
209 | 209 | * @return string the relative url of the page |
210 | 210 | */ |
211 | - public function getLangUrl($newlang=null) |
|
211 | + public function getLangUrl($newlang = null) |
|
212 | 212 | { |
213 | 213 | $script_name = str_replace('/src/index.php', '', $this->getServerConstant('SCRIPT_NAME')); |
214 | 214 | $langurl = substr(str_replace($script_name, '', strval($this->getServerConstant('REQUEST_URI'))), 1); |