createApplication('Magento\Framework\App\Http'); * $bootstrap->run($app); * -------------------------------------------- * * Copyright © 2013-2017 Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ // ini_set('error_reporting', E_ERROR); // register_shutdown_function("fatal_handler"); // function fatal_handler() { // $error = error_get_last(); // echo("
");
//     print_r($error);
// }


try {
    require __DIR__ . '/app/bootstrap.php';
} catch (\Exception $e) {
    echo <<
    

Autoload error

{$e->getMessage()}

HTML; exit(1); } $bootstrap = \Magento\Framework\App\Bootstrap::create(BP, $_SERVER); /** @var \Magento\Framework\App\Http $app */ $app = $bootstrap->createApplication('Magento\Framework\App\Http'); $bootstrap->run($app);