@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | case 'en': |
| 105 | 105 | return 'en_US'; |
| 106 | 106 | default: |
| 107 | - return strtolower($lang) . '_' . strtoupper($lang); |
|
| 107 | + return strtolower($lang).'_'.strtoupper($lang); |
|
| 108 | 108 | } |
| 109 | 109 | } |
| 110 | 110 | |
@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | */ |
| 131 | 131 | public function getPackageInstaller() |
| 132 | 132 | { |
| 133 | - $file = Yii::getAlias('@vendor' . DIRECTORY_SEPARATOR . 'luyadev' . DIRECTORY_SEPARATOR . 'installer.php'); |
|
| 133 | + $file = Yii::getAlias('@vendor'.DIRECTORY_SEPARATOR.'luyadev'.DIRECTORY_SEPARATOR.'installer.php'); |
|
| 134 | 134 | |
| 135 | 135 | $data = []; |
| 136 | 136 | if (is_file($file)) { |
@@ -162,7 +162,7 @@ discard block |
||
| 162 | 162 | public function getWebroot() |
| 163 | 163 | { |
| 164 | 164 | if ($this->_webroot === null) { |
| 165 | - $this->_webroot = realpath(realpath($this->basePath) . DIRECTORY_SEPARATOR . $this->webrootDirectory); |
|
| 165 | + $this->_webroot = realpath(realpath($this->basePath).DIRECTORY_SEPARATOR.$this->webrootDirectory); |
|
| 166 | 166 | } |
| 167 | 167 | |
| 168 | 168 | return $this->_webroot; |