tweaking profiler.
This commit is contained in:
@@ -112,6 +112,22 @@ Event::listen(Lang::loader, function($bundle, $language, $file)
|
|||||||
return Lang::file($bundle, $language, $file);
|
return Lang::file($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
|
||||||
|
|||||||
@@ -143,22 +143,6 @@ Input::$input = $input;
|
|||||||
|
|
||||||
Bundle::start(DEFAULT_BUNDLE);
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user