Commit e0e0b51b by Taylor Otwell

tweaking profiler.

parent e1d49749
...@@ -114,6 +114,22 @@ Event::listen(Lang::loader, function($bundle, $language, $file) ...@@ -114,6 +114,22 @@ Event::listen(Lang::loader, function($bundle, $language, $file)
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Attach The Laravel Profiler
|--------------------------------------------------------------------------
|
| If the profiler is enabled, we will attach it to the Laravel events
| for both queries and logs. This allows the profiler to intercept
| any of the queries or logs performed by the application.
|
*/
if (Config::get('application.profiler'))
{
Profiler::attach();
}
/*
|--------------------------------------------------------------------------
| Enable The Blade View Engine | Enable The Blade View Engine
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
......
...@@ -145,22 +145,6 @@ Bundle::start(DEFAULT_BUNDLE); ...@@ -145,22 +145,6 @@ Bundle::start(DEFAULT_BUNDLE);
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Attach The Laravel Profiler
|--------------------------------------------------------------------------
|
| If the profiler is enabled, we will attach it to the Laravel events
| for both queries and logs. This allows the profiler to intercept
| any of the queries or logs performed by the application.
|
*/
if (Config::get('application.profiler'))
{
Profiling\Profiler::attach();
}
/*
|--------------------------------------------------------------------------
| Auto-Start Other Bundles | Auto-Start Other Bundles
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
......
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