From 54de6f2ce5b321980af2c00eb55bdde36611fc51 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Sun, 17 Aug 2014 17:31:05 -0600 Subject: [PATCH] set tracy debugger to production mode by default, set to development by enabling in the configuration --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 59152e7bc..8242845cb 100644 --- a/index.php +++ b/index.php @@ -20,7 +20,7 @@ ob_start(); // Start the timer and enable debugger in production mode as we do not have system configuration yet. // Debugger catches all errors and logs them, for example if the script doesn't have write permissions. Debugger::timer(); -Debugger::enable(Debugger::DEVELOPMENT, is_dir(LOG_DIR) ? LOG_DIR : null); +Debugger::enable(Debugger::PRODUCTION, is_dir(LOG_DIR) ? LOG_DIR : null); $grav = new Grav;