|
@@ -124,7 +124,7 @@ discard block |
|
|
block discarded – undo |
|
124
|
124
|
|
|
125
|
125
|
// generate from `de` the locale `de_DE` or from `en` `en_EN` only if $lang is 2 chars. |
|
126
|
126
|
if (strlen($lang) == 2) { |
|
127
|
|
- return strtolower($lang) . '_' . strtoupper($lang); |
|
|
127
|
+ return strtolower($lang).'_'.strtoupper($lang); |
|
128
|
128
|
} |
|
129
|
129
|
|
|
130
|
130
|
return $lang; |
|
@@ -186,7 +186,7 @@ discard block |
|
|
block discarded – undo |
|
186
|
186
|
public function getWebroot() |
|
187
|
187
|
{ |
|
188
|
188
|
if ($this->_webroot === null) { |
|
189
|
|
- $this->_webroot = realpath(realpath($this->basePath) . DIRECTORY_SEPARATOR . $this->webrootDirectory); |
|
|
189
|
+ $this->_webroot = realpath(realpath($this->basePath).DIRECTORY_SEPARATOR.$this->webrootDirectory); |
|
190
|
190
|
} |
|
191
|
191
|
|
|
192
|
192
|
return $this->_webroot; |
Please login to merge, or discard this patch.