@@ -128,7 +128,7 @@ |
||
| 128 | 128 | private function absolutizePath($path, $context = null) |
| 129 | 129 | { |
| 130 | 130 | if (null !== $context) { |
| 131 | - $context = $this->defaultRootPath.DIRECTORY_SEPARATOR.$context; |
|
| 131 | + $context = $this->defaultRootPath . DIRECTORY_SEPARATOR . $context; |
|
| 132 | 132 | } |
| 133 | 133 | |
| 134 | 134 | if (isset($path[0]) && '/' === $path[0]) { |
@@ -70,7 +70,7 @@ |
||
| 70 | 70 | return self::DEFAULT_TENANT; |
| 71 | 71 | } |
| 72 | 72 | |
| 73 | - $parts = explode('.', str_replace('.'.$this->domain, '', $host)); |
|
| 73 | + $parts = explode('.', str_replace('.' . $this->domain, '', $host)); |
|
| 74 | 74 | $subdomain = self::DEFAULT_TENANT; |
| 75 | 75 | if (count($parts) === 1 && $parts[0] !== 'www') { |
| 76 | 76 | $subdomain = $parts[0]; |