@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | |
86 | 86 | //redirect now |
87 | 87 | if (isset($_GET['force']) && $_GET['force']) { |
88 | - return $this->redirect($this->Link($newCountryCode) . '?force-back-home'); |
|
88 | + return $this->redirect($this->Link($newCountryCode).'?force-back-home'); |
|
89 | 89 | } |
90 | 90 | if (isset($_GET['force-back-home']) && $_GET['force-back-home']) { |
91 | 91 | return $this->redirect(Director::baseURL('/')); |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | $action |
107 | 107 | ); |
108 | 108 | |
109 | - return $link . '/'; |
|
109 | + return $link.'/'; |
|
110 | 110 | } |
111 | 111 | |
112 | 112 | /** |
@@ -160,10 +160,10 @@ discard block |
||
160 | 160 | |
161 | 161 | $path = isset($parsedUrl['path']) ? $parsedUrl['path'] : ''; |
162 | 162 | |
163 | - $query = empty($query) ? '' : '?'. http_build_query($query); |
|
163 | + $query = empty($query) ? '' : '?'.http_build_query($query); |
|
164 | 164 | $newURL = |
165 | - $parsedUrl['scheme'] . |
|
166 | - '://' . |
|
165 | + $parsedUrl['scheme']. |
|
166 | + '://'. |
|
167 | 167 | Controller::join_links( |
168 | 168 | $parsedUrl['host'], |
169 | 169 | $parsedUrl['path'] |