@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | * get the current uri for routing |
| 35 | 35 | * @return mixed |
| 36 | 36 | */ |
| 37 | - public function getUri(){ |
|
| 37 | + public function getUri() { |
|
| 38 | 38 | return $_SERVER['REQUEST_URI']; |
| 39 | 39 | } |
| 40 | 40 | |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | { |
| 68 | 68 | $host = $_SERVER['HTTP_HOST']; |
| 69 | 69 | $https = !empty($_SERVER['HTTPS']) ? 'https' : 'http'; |
| 70 | - return $https . '://' . $host . '/'; |
|
| 70 | + return $https.'://'.$host.'/'; |
|
| 71 | 71 | } |
| 72 | 72 | |
| 73 | 73 | /** |