Skip to content

Commit

Permalink
Merge branch '1.7' into 1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
andrerom committed Aug 13, 2018
2 parents d840051 + 6462fc3 commit 8f3c93f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/app.php
Expand Up @@ -18,12 +18,12 @@
$useDebugging = $environment === 'dev';
}

// Depending on SYMFONY_CLASSLOADER_FILE use custom class loader, otherwise use bootstrap cache, or autoload in debug
// Depending on SYMFONY_CLASSLOADER_FILE use custom class loader, otherwise use normal autoload and optionally bootstrap cache on PHP 5 when not in debug mode
if ($loaderFile = getenv('SYMFONY_CLASSLOADER_FILE')) {
require_once $loaderFile;
} else {
require_once __DIR__ . '/../app/autoload.php';
if (!$useDebugging) {
if (!$useDebugging && PHP_VERSION_ID < 70000) {
require_once __DIR__ . '/../app/bootstrap.php.cache';
}
}
Expand Down

0 comments on commit 8f3c93f

Please sign in to comment.