added configurable automatic key generation.

This commit is contained in:
Taylor Otwell
2012-02-15 13:02:38 -06:00
parent 6b14bd394e
commit 82315f31d5
4 changed files with 59 additions and 40 deletions

View File

@@ -58,6 +58,14 @@ else
$paths['public'] = 'public';
}
// --------------------------------------------------------------
// Define a bootstrap Closure that runs on core load.
// --------------------------------------------------------------
$bootstrap = function()
{
Laravel\Config::set('key.auto', true);
};
// --------------------------------------------------------------
// Define each constant if it hasn't been defined.
// --------------------------------------------------------------