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 11<?php
22/**
3- * Copyright 2014 Adobe
4- * All rights reserved .
3+ * Copyright © Magento, Inc. All rights reserved.
4+ * See COPYING.txt for license details .
55 */
66declare (strict_types=1 );
77
@@ -68,11 +68,6 @@ class Bootstrap
6868 */
6969 const INIT_PARAM_FILESYSTEM_DRIVERS = 'MAGE_FILESYSTEM_DRIVERS ' ;
7070
71- /**
72- * Initialization parameter for magento mode
73- */
74- const INIT_PARAM_MAGE_MODE = 'MAGE_MODE ' ;
75-
7671 /**
7772 * The initialization parameters (normally come from the $_SERVER)
7873 *
Original file line number Diff line number Diff line change 1212use Magento \Framework \App \DeploymentConfig ;
1313use Magento \Framework \App \Filesystem \DirectoryList ;
1414use Magento \Framework \App \ProductMetadata ;
15+ use Magento \Framework \App \State as AppState ;
1516use Magento \Framework \Composer \ComposerJsonFinder ;
1617use Magento \Framework \Config \ConfigOptionsListConstants ;
1718use Magento \Framework \Console \CommandLoader \Aggregate ;
@@ -179,7 +180,7 @@ private function initObjectManager()
179180 $ requestParams = $ this ->serviceManager ->get ('magento-init-params ' );
180181 $ appBootstrapKeys = [
181182 Bootstrap::INIT_PARAM_FILESYSTEM_DIR_PATHS ,
182- Bootstrap:: INIT_PARAM_MAGE_MODE ,
183+ AppState:: PARAM_MODE ,
183184 ];
184185
185186 foreach ($ appBootstrapKeys as $ appBootstrapKey ) {
You can’t perform that action at this time.
0 commit comments