Parcourir la source

Hiding web profiler (waiting for a DB change)

gugli100 il y a 12 ans
Parent
commit
0086dad7e2
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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);
     }
+    */
 }