File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 25
25
}
26
26
27
27
$ params = $ _SERVER ;
28
- $ params [Bootstrap::INIT_PARAM_FILESYSTEM_DIR_PATHS ] = array_replace_recursive (
29
- $ params [Bootstrap::INIT_PARAM_FILESYSTEM_DIR_PATHS ],
30
- [
28
+ $ params [Bootstrap::INIT_PARAM_FILESYSTEM_DIR_PATHS ] =
29
+ ( $ params [Bootstrap::INIT_PARAM_FILESYSTEM_DIR_PATHS ] ?? [])
30
+ + [
31
31
DirectoryList::PUB => [DirectoryList::URL_PATH => '' ],
32
32
DirectoryList::MEDIA => [DirectoryList::URL_PATH => 'media ' ],
33
33
DirectoryList::STATIC_VIEW => [DirectoryList::URL_PATH => 'static ' ],
34
34
DirectoryList::UPLOAD => [DirectoryList::URL_PATH => 'media/upload ' ],
35
- ]
36
- );
35
+ ];
37
36
$ bootstrap = \Magento \Framework \App \Bootstrap::create (BP , $ params );
38
37
/** @var \Magento\Framework\App\Http $app */
39
38
$ app = $ bootstrap ->createApplication (\Magento \Framework \App \Http::class);
You can’t perform that action at this time.
0 commit comments