wealthbot-io / wealthbot

Use wealthbot.io to easily setup your own wealth management platform ⛺
Other
675 stars 158 forks source link

[Insight] Exceptions should not be enabled in production - in web/app.php, line 8 #75

Closed vlad-ko closed 8 years ago

vlad-ko commented 8 years ago

in web/app.php, line 8

This production application kernel is initialized in debug mode (second parameter to true, which allows the display of exceptions.

/**
 * @var Composer\Autoload\ClassLoader
 */
$loader = require __DIR__.'/../app/autoload.php';
include_once __DIR__.'/../app/bootstrap.php.cache';
$kernel = new AppKernel('prod', true);
$kernel->loadClassCache();
//$kernel = new AppCache($kernel);
// When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter
//Request::enableHttpMethodParameterOverride();
$request = Request::createFromGlobals();

Posted from SensioLabsInsight

azatyan commented 8 years ago

This can be closed after merging 2.8 branch.!