浏览代码

Hiding web profiler until a DB setting exists

Julio Montoya 12 年之前
父节点
当前提交
aa346232f5
共有 1 个文件被更改,包括 2 次插入2 次删除
  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);
-    }
+    }*/
 }