integrated a simple version of anbu into the laravel core
Signed-off-by: Dayle Rees <thepunkfan@gmail.com>
This commit is contained in:
16
application/start.php
Normal file → Executable file
16
application/start.php
Normal file → Executable file
@@ -125,6 +125,20 @@ Event::listen(Lang::loader, function($bundle, $language, $file)
|
||||
|
||||
Blade::sharpen();
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Enable The Anbu Profiler
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The Anbu profiler is an easy way to view all of your Executed SQL
|
||||
| queries, log entries and other useful data from the front-end of your
|
||||
| web app, to enable output simply add Anbu::render(); after the <body>
|
||||
| tag of your main template, or page.
|
||||
|
|
||||
*/
|
||||
|
||||
Anbu::register();
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Set The Default Timezone
|
||||
@@ -154,4 +168,4 @@ date_default_timezone_set(Config::get('application.timezone'));
|
||||
if ( ! Request::cli() and Config::get('session.driver') !== '')
|
||||
{
|
||||
Session::load();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user