File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
lib/internal/Magento/Framework Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright 2014 Adobe
4
- * All rights reserved .
3
+ * Copyright © Magento, Inc. All rights reserved.
4
+ * See COPYING.txt for license details .
5
5
*/
6
6
declare (strict_types=1 );
7
7
@@ -68,11 +68,6 @@ class Bootstrap
68
68
*/
69
69
const INIT_PARAM_FILESYSTEM_DRIVERS = 'MAGE_FILESYSTEM_DRIVERS ' ;
70
70
71
- /**
72
- * Initialization parameter for magento mode
73
- */
74
- const INIT_PARAM_MAGE_MODE = 'MAGE_MODE ' ;
75
-
76
71
/**
77
72
* The initialization parameters (normally come from the $_SERVER)
78
73
*
Original file line number Diff line number Diff line change 12
12
use Magento \Framework \App \DeploymentConfig ;
13
13
use Magento \Framework \App \Filesystem \DirectoryList ;
14
14
use Magento \Framework \App \ProductMetadata ;
15
+ use Magento \Framework \App \State as AppState ;
15
16
use Magento \Framework \Composer \ComposerJsonFinder ;
16
17
use Magento \Framework \Config \ConfigOptionsListConstants ;
17
18
use Magento \Framework \Console \CommandLoader \Aggregate ;
@@ -179,7 +180,7 @@ private function initObjectManager()
179
180
$ requestParams = $ this ->serviceManager ->get ('magento-init-params ' );
180
181
$ appBootstrapKeys = [
181
182
Bootstrap::INIT_PARAM_FILESYSTEM_DIR_PATHS ,
182
- Bootstrap:: INIT_PARAM_MAGE_MODE ,
183
+ AppState:: PARAM_MODE ,
183
184
];
184
185
185
186
foreach ($ appBootstrapKeys as $ appBootstrapKey ) {
You can’t perform that action at this time.
0 commit comments