|
@@ -33,10 +33,10 @@ |
|
|
block discarded – undo |
|
33
|
33
|
$theme = App::$Properties->get('theme')[env_name] ?? 'default'; |
|
34
|
34
|
$env = ucfirst(Str::lowerCase(env_name)); |
|
35
|
35
|
|
|
36
|
|
- $this->path = root . DIRECTORY_SEPARATOR . 'Apps' . DIRECTORY_SEPARATOR . 'View' . DIRECTORY_SEPARATOR . $env . DIRECTORY_SEPARATOR . $theme; |
|
|
36
|
+ $this->path = root.DIRECTORY_SEPARATOR.'Apps'.DIRECTORY_SEPARATOR.'View'.DIRECTORY_SEPARATOR.$env.DIRECTORY_SEPARATOR.$theme; |
|
37
|
37
|
if (!Directory::exist($this->path)) { |
|
38
|
38
|
if (!App::$Debug) { |
|
39
|
|
- App::$Debug->addMessage('Template root directory is not exist: ' . $this->path, 'error'); |
|
|
39
|
+ App::$Debug->addMessage('Template root directory is not exist: '.$this->path, 'error'); |
|
40
|
40
|
} |
|
41
|
41
|
return; |
|
42
|
42
|
} |
Please login to merge, or discard this patch.