This repository has been archived by the owner. It is now read-only.

fix: ndirect modification of overloaded #66

Merged
merged 1 commit into from Jun 4, 2015
Jump to file or symbol
Failed to load files and symbols.
+17 −15
Diff settings

Always

Just for now

Copy path View file
@@ -55,21 +55,23 @@ public function register(Application $app)
return new TraceableEventDispatcher($dispatcher, $app['stopwatch'], $app['logger']);
}));
$app['data_collector.templates'] = array(
array('config', '@WebProfiler/Collector/config.html.twig'),
array('request', '@WebProfiler/Collector/request.html.twig'),
array('exception', '@WebProfiler/Collector/exception.html.twig'),
array('events', '@WebProfiler/Collector/events.html.twig'),
array('logger', '@WebProfiler/Collector/logger.html.twig'),
array('time', '@WebProfiler/Collector/time.html.twig'),
array('router', '@WebProfiler/Collector/router.html.twig'),
array('memory', '@WebProfiler/Collector/memory.html.twig'),
array('form', '@WebProfiler/Collector/form.html.twig'),
);
if (class_exists('Symfony\Bridge\Twig\Extension\ProfilerExtension')) {
$app['data_collector.templates']['twig'] = '@WebProfiler/Collector/twig.html.twig';
}
$app['data_collector.templates'] = $app->share(function () {
$templates = array(
array('config', '@WebProfiler/Collector/config.html.twig'),
array('request', '@WebProfiler/Collector/request.html.twig'),
array('exception', '@WebProfiler/Collector/exception.html.twig'),
array('events', '@WebProfiler/Collector/events.html.twig'),
array('logger', '@WebProfiler/Collector/logger.html.twig'),
array('time', '@WebProfiler/Collector/time.html.twig'),
array('router', '@WebProfiler/Collector/router.html.twig'),
array('memory', '@WebProfiler/Collector/memory.html.twig'),
array('form', '@WebProfiler/Collector/form.html.twig'),
);
if (class_exists('Symfony\Bridge\Twig\Extension\ProfilerExtension')) {
$templates[] = array('twig', '@WebProfiler/Collector/twig.html.twig');
}
return $templates;
});
$app['data_collectors'] = $app->share(function ($app) {
return array(
ProTip! Use n and p to navigate between commits in a pull request.