Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
magento2-base
setup
src
Magento
Setup
Controller
WebConfiguration.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Setup\Controller
;
7
8
use
Magento\Framework\App\SetupInfo
;
9
use
Magento\Framework\Config\ConfigOptionsListConstants
;
10
use Zend\Mvc\Controller\AbstractActionController;
11
use Zend\View\Model\ViewModel;
12
13
class
WebConfiguration
extends
AbstractActionController
14
{
20
public
function
indexAction
()
21
{
22
$setupInfo =
new
SetupInfo
($_SERVER);
23
$view =
new
ViewModel(
24
[
25
'autoBaseUrl'
=> $setupInfo->getProjectUrl(),
26
'autoAdminPath'
=> $setupInfo->getProjectAdminPath(),
27
'sessionSave'
=> [
28
ConfigOptionsListConstants::SESSION_SAVE_FILES
,
29
ConfigOptionsListConstants::SESSION_SAVE_DB
,
30
],
31
]
32
);
33
$view->setTerminal(
true
);
34
return
$view;
35
}
36
}
Magento\Framework\Config\ConfigOptionsListConstants\SESSION_SAVE_FILES
const SESSION_SAVE_FILES
Definition:
ConfigOptionsListConstants.php:85
Magento\Setup\Controller\WebConfiguration\indexAction
indexAction()
Definition:
WebConfiguration.php:20
Magento\Framework\App\SetupInfo
Definition:
SetupInfo.php:14
Magento\Setup\Controller\WebConfiguration
Definition:
WebConfiguration.php:13
Magento\Framework\Config\ConfigOptionsListConstants
Definition:
ConfigOptionsListConstants.php:16
Magento\Framework\Config\ConfigOptionsListConstants\SESSION_SAVE_DB
const SESSION_SAVE_DB
Definition:
ConfigOptionsListConstants.php:86
Magento\Setup\Controller
Definition:
UrlCheckTest.php:6