@@ -169,7 +169,7 @@ discard block |
||
169 | 169 | |
170 | 170 | public function getRequestUri() |
171 | 171 | { |
172 | - return $this->getServerConstant('HTTP_HOST') . $this->getServerConstant('REQUEST_URI'); |
|
172 | + return $this->getServerConstant('HTTP_HOST').$this->getServerConstant('REQUEST_URI'); |
|
173 | 173 | } |
174 | 174 | |
175 | 175 | /** |
@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | * @param string $newlang new UI language to set |
178 | 178 | * @return string the relative url of the page |
179 | 179 | */ |
180 | - public function getLangUrl($newlang=null) |
|
180 | + public function getLangUrl($newlang = null) |
|
181 | 181 | { |
182 | 182 | $script_name = str_replace('/index.php', '', $this->getServerConstant('SCRIPT_NAME')); |
183 | 183 | $langurl = substr(str_replace($script_name, '', $this->getServerConstant('REQUEST_URI')), 1); |