Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
index.php File Reference

Go to the source code of this file.

Variables

 try
 
catch(\Exception $e) $params = $_SERVER
 
 $params [Bootstrap::INIT_PARAM_FILESYSTEM_DIR_PATHS]
 
 $bootstrap = \Magento\Framework\App\Bootstrap::create(BP, $params)
 
 $app = $bootstrap->createApplication(\Magento\Framework\App\Http::class)
 

Variable Documentation

◆ $app

$app = $bootstrap->createApplication(\Magento\Framework\App\Http::class)

Definition at line 36 of file index.php.

◆ $bootstrap

Definition at line 34 of file index.php.

◆ $params [1/2]

catch (\Exception $e) $params = $_SERVER

Definition at line 27 of file index.php.

◆ $params [2/2]

$params[Bootstrap::INIT_PARAM_FILESYSTEM_DIR_PATHS]
Initial value:
= [
DirectoryList::PUB => [DirectoryList::URL_PATH => ''],
DirectoryList::MEDIA => [DirectoryList::URL_PATH => 'media'],
DirectoryList::STATIC_VIEW => [DirectoryList::URL_PATH => 'static'],
DirectoryList::UPLOAD => [DirectoryList::URL_PATH => 'media/upload'],
]

Definition at line 28 of file index.php.

◆ try

try
Initial value:
{
require __DIR__ . '/../app/bootstrap.php'
defined('TESTS_BP')||define('TESTS_BP' __DIR__
Definition: _bootstrap.php:60

Definition at line 12 of file index.php.