Skip to content

Instantly share code, notes, and snippets.

require_once __DIR__ . '/composer' . '/autoload_real.php';
return ComposerAutoloaderInite017170675962b5ea3eb69708c5ac486::getLoader();
if (file_exists($vendorAutoload)) {
$composerAutoloader = include $vendorAutoload;
} else {
throw new \Exception(
'Vendor autoload is not found. Please run \'composer install\' under application root directory.'
);
}
$vendorAutoload = BP . "/{$vendorDir}/autoload.php";
$vendorDir = require BP . '/app/etc/vendor_path.php';
define('BP', dirname(__DIR__));
require_once __DIR__ . '/autoload.php';
if (version_compare(phpversion(), '5.5.0', '<') === true) {
if (PHP_SAPI == 'cli') {
echo 'Magento supports PHP 5.5.0 or later. ' .
'Please read http://devdocs.magento.com/guides/v1.0/install-gde/system-requirements.html';
} else {
echo <<<HTML
<div style="font:12px/1.35em arial, helvetica, sans-serif;">
<p>Magento supports PHP 5.5.0 or later. Please read
<a target="_blank" href="http://devdocs.magento.com/guides/v1.0/install-gde/system-requirements.html">
Magento System Requirements</a>.
error_reporting(E_ALL);
require __DIR__ . '/app/bootstrap.php';