Skip to content

Commit

Permalink
[Framework] disabled the bootstrap file when debug is true
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Aug 9, 2010
1 parent ecea456 commit fd70575
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Symfony/Framework/Kernel.php
Expand Up @@ -116,7 +116,9 @@ public function boot()
throw new \LogicException('The kernel is already booted.');
}

require_once __DIR__.'/bootstrap.php';
if (!$this->isDebug()) {
require_once __DIR__.'/bootstrap.php';
}

$this->bundles = $this->registerBundles();
$this->bundleDirs = $this->registerBundleDirs();
Expand Down

0 comments on commit fd70575

Please sign in to comment.