File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 8
8
* License: GNU/GPLv2
9
9
* @see LICENSE.txt
10
10
*
11
- * This file: Upload handler (last modified: 2021.08.25 ).
11
+ * This file: Upload handler (last modified: 2021.09.05 ).
12
12
*/
13
13
14
14
namespace phpMussel \Web ;
@@ -72,11 +72,9 @@ public function __construct(\phpMussel\Core\Loader &$Loader, \phpMussel\Core\Sca
72
72
$ Configuration = $ this ->Loader ->readFile ($ this ->AssetsPath . 'config.yml ' )
73
73
) {
74
74
$ Defaults = [];
75
- $ this ->Loader ->YAML ->process ($ Configuration , $ Defaults , 0 , true );
76
- if (isset ($ Defaults )) {
77
- $ this ->Loader ->fallback ($ Defaults );
78
- $ this ->Loader ->ConfigurationDefaults = array_merge_recursive ($ this ->Loader ->ConfigurationDefaults , $ Defaults );
79
- }
75
+ $ this ->Loader ->YAML ->process ($ Configuration , $ Defaults );
76
+ $ this ->Loader ->fallback ($ Defaults );
77
+ $ this ->Loader ->ConfigurationDefaults = array_merge_recursive ($ this ->Loader ->ConfigurationDefaults , $ Defaults );
80
78
}
81
79
82
80
/** Register log paths. */
You can’t perform that action at this time.
0 commit comments