@@ -33,7 +33,7 @@ |
||
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 | return; |
39 | 39 | } |
@@ -22,10 +22,10 @@ |
||
22 | 22 | { |
23 | 23 | $to = trim($to, '/'); |
24 | 24 | if (!$full && !Str::startsWith(App::$Alias->baseUrl, $to)) { |
25 | - $to = App::$Alias->baseUrl . '/' . $to; |
|
25 | + $to = App::$Alias->baseUrl.'/'.$to; |
|
26 | 26 | } |
27 | 27 | $redirect = new FoundationRedirect($to); |
28 | 28 | $redirect->send(); |
29 | - exit('Redirecting to ' . $to . ' ...'); |
|
29 | + exit('Redirecting to '.$to.' ...'); |
|
30 | 30 | } |
31 | 31 | } |