@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Ffcms\Core\App; |
| 6 | 6 | use Ffcms\Core\Arch\Model; |
| 7 | -use Ffcms\Core\Helper\Type\Obj; |
|
| 8 | 7 | use Ffcms\Core\Helper\Type\Str; |
| 9 | 8 | use Ffcms\Core\Interfaces\iUser; |
| 10 | 9 | |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | */ |
| 104 | 104 | public function getAvailableThemes($env_name) |
| 105 | 105 | { |
| 106 | - $path = root . '/Apps/View/' . $env_name . '/'; |
|
| 106 | + $path = root.'/Apps/View/'.$env_name.'/'; |
|
| 107 | 107 | if (!Directory::exist($path)) { |
| 108 | 108 | return []; |
| 109 | 109 | } |
@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | public function makeSave() |
| 125 | 125 | { |
| 126 | 126 | $toSave = App::$Security->strip_php_tags($this->getAllProperties()); |
| 127 | - $stringSave = '<?php return ' . Arr::exportVar($toSave, null, true) . ';'; |
|
| 127 | + $stringSave = '<?php return '.Arr::exportVar($toSave, null, true).';'; |
|
| 128 | 128 | |
| 129 | 129 | $cfgPath = '/Private/Config/Default.php'; |
| 130 | 130 | if (File::exist($cfgPath) && File::writable($cfgPath)) { |