Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[HttpKernel] added a Kernel::init() method
  • Loading branch information
fabpot committed May 5, 2011
1 parent aba8f1e commit 0f0e581
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/Symfony/Component/HttpKernel/Kernel.php
Expand Up @@ -71,13 +71,10 @@ public function __construct($environment, $debug)
$this->classes = array();

if ($this->debug) {
ini_set('display_errors', 1);
error_reporting(-1);

$this->startTime = microtime(true);
} else {
ini_set('display_errors', 0);
}

$this->init();
}

public function __clone()
Expand All @@ -90,6 +87,10 @@ public function __clone()
$this->container = null;
}

public function init()
{
}

/**
* Boots the current kernel.
*/
Expand Down

0 comments on commit 0f0e581

Please sign in to comment.