Explorar o código

Hiding web profiler until a DB setting exists

Julio Montoya %!s(int64=12) %!d(string=hai) anos
pai
achega
aa346232f5
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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);
-    }
+    }*/
 }