Commit b5f9f9bd authored by Taylor Otwell's avatar Taylor Otwell

added event firing when bundle is started.

parent 36363216
......@@ -87,6 +87,8 @@ class Bundle {
// start script for reverse routing efficiency purposes.
static::routes($bundle);
Event::fire("started: {$bundle}");
static::$started[] = strtolower($bundle);
}
......
......@@ -17,6 +17,7 @@ define('MB_STRING', (int) function_exists('mb_get_info'));
* These are typically classes that the auto-loader relies upon to
* load classes, such as the array and configuration classes.
*/
require path('sys').'event'.EXT;
require path('sys').'bundle'.EXT;
require path('sys').'config'.EXT;
require path('sys').'helpers'.EXT;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment