Browse Source

Hiding web profiler (waiting for a DB change)

gugli100 12 years ago
parent
commit
0086dad7e2
1 changed files with 2 additions and 1 deletions
  1. 2 1
      main/inc/global.inc.php

+ 2 - 1
main/inc/global.inc.php

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