소스 검색

Hiding web profiler (waiting for a DB change)

gugli100 12 년 전
부모
커밋
0086dad7e2
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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);
     }
+    */
 }