Browse Source

Hiding web profiler until a DB setting exists

Julio Montoya 12 years ago
parent
commit
aa346232f5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      main/inc/global.inc.php

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

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