@@ -61,22 +61,22 @@ |
||
61 | 61 | |
62 | 62 | public function getViewPath(): string |
63 | 63 | { |
64 | - return $this->basePath . '/views'; |
|
64 | + return $this->basePath.'/views'; |
|
65 | 65 | } |
66 | 66 | |
67 | 67 | public function getLayoutPath(): string |
68 | 68 | { |
69 | - return $this->viewPath . '/layouts'; |
|
69 | + return $this->viewPath.'/layouts'; |
|
70 | 70 | } |
71 | 71 | |
72 | 72 | public function getLayoutFile() |
73 | 73 | { |
74 | - return $this->layoutPath . '/' . $this->layout . '.php'; |
|
74 | + return $this->layoutPath.'/'.$this->layout.'.php'; |
|
75 | 75 | } |
76 | 76 | |
77 | 77 | public function getResourcePath() |
78 | 78 | { |
79 | - return $this->basePath . '/resources'; |
|
79 | + return $this->basePath.'/resources'; |
|
80 | 80 | } |
81 | 81 | |
82 | 82 | public function getInfo() |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace luya\theme; |
4 | 4 | |
5 | -use luya\helpers\FileHelper; |
|
6 | 5 | use Yii; |
7 | 6 | use luya\helpers\Json; |
8 | 7 | use yii\base\BaseObject; |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | $config = []; |
31 | 31 | |
32 | 32 | // @todo do not load the json every time |
33 | - $themeFile = Yii::getAlias($basePath . '/theme.json'); |
|
33 | + $themeFile = Yii::getAlias($basePath.'/theme.json'); |
|
34 | 34 | if (file_exists($themeFile)) { |
35 | 35 | $config = Json::decode(file_get_contents($themeFile)) ?: []; |
36 | 36 | } |
@@ -100,6 +100,6 @@ discard block |
||
100 | 100 | |
101 | 101 | public function getViewPath(): string |
102 | 102 | { |
103 | - return $this->basePath . '/views'; |
|
103 | + return $this->basePath.'/views'; |
|
104 | 104 | } |
105 | 105 | } |
106 | 106 | \ No newline at end of file |