|
@@ -359,13 +359,14 @@ if (is_writable($app['cache.path'])) {
|
|
);
|
|
);
|
|
|
|
|
|
//Adding web profiler
|
|
//Adding web profiler
|
|
-
|
|
|
|
|
|
+ /*
|
|
if ($app['debug']) {
|
|
if ($app['debug']) {
|
|
$app->register($p = new Silex\Provider\WebProfilerServiceProvider(), array(
|
|
$app->register($p = new Silex\Provider\WebProfilerServiceProvider(), array(
|
|
'profiler.cache_dir' => $app['profiler.cache_dir'],
|
|
'profiler.cache_dir' => $app['profiler.cache_dir'],
|
|
));
|
|
));
|
|
$app->mount('/_profiler', $p);
|
|
$app->mount('/_profiler', $p);
|
|
}
|
|
}
|
|
|
|
+ */
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|