mirror of
https://github.com/getgrav/grav.git
synced 2026-03-06 12:31:53 +01:00
set tracy debugger to production mode by default, set to development by enabling in the configuration
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user