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

@@ -64,6 +64,18 @@ if (isset($_SERVER['CLI']['ENV']))
$_SERVER['LARAVEL_ENV'] = $_SERVER['CLI']['ENV'];
}
/**
* Call the bootstrap Closure that was defined in the start.php
* file for the framework. This allows events and more to be
* registered extremely early in the life cycle.
*/
if (isset($bootstrap))
{
call_user_func($bootstrap);
unset($bootstrap);
}
/**
* Register all of the core class aliases. These aliases provide a
* convenient way of working with the Laravel core classes without