@@ -172,7 +172,7 @@ |
||
| 172 | 172 | |
| 173 | 173 | foreach( $this->services['config']->get('modules', []) as $name => $module ) { |
| 174 | 174 | list($package, $namespace) = $module; |
| 175 | - $class = $namespace. '\\Module'; |
|
| 175 | + $class = $namespace . '\\Module'; |
|
| 176 | 176 | $this->modules[$name] = new $class($this->services); |
| 177 | 177 | } |
| 178 | 178 | |
@@ -169,7 +169,7 @@ discard block |
||
| 169 | 169 | |
| 170 | 170 | // do geo-ip stuff if we have a valid IP that isn't part of a private network |
| 171 | 171 | if( $this->ip ) { |
| 172 | - $this->country_code = function_exists('geoip_country_code_by_name') ? geoip_country_code_by_name($this->ip) : ''; |
|
| 172 | + $this->country_code = function_exists('geoip_country_code_by_name') ? geoip_country_code_by_name($this->ip) : ''; |
|
| 173 | 173 | $this->continent = function_exists('geoip_continent_code_by_name') ? geoip_continent_code_by_name($this->ip) : ''; |
| 174 | 174 | } |
| 175 | 175 | |
@@ -220,7 +220,7 @@ discard block |
||
| 220 | 220 | if( $this->uri == $uri_prefix ) |
| 221 | 221 | return '/'; |
| 222 | 222 | else |
| 223 | - return preg_replace('/^'. preg_quote($uri_prefix, '/'). '/', '', $this->uri); |
|
| 223 | + return preg_replace('/^' . preg_quote($uri_prefix, '/') . '/', '', $this->uri); |
|
| 224 | 224 | |
| 225 | 225 | } |
| 226 | 226 | |