mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-12 06:52:12 +09:00
Add option to control error logging
This commit is contained in:
parent
3291375fc4
commit
cf6c5f727e
8 changed files with 31 additions and 13 deletions
|
|
@ -737,6 +737,7 @@ class adminAdminController extends admin
|
|||
Rhymix\Framework\Config::set('debug.log_slow_remote_requests', max(0, floatval($vars->debug_log_slow_remote_requests)));
|
||||
Rhymix\Framework\Config::set('debug.display_type', strval($vars->debug_display_type) ?: 'comment');
|
||||
Rhymix\Framework\Config::set('debug.display_to', strval($vars->debug_display_to) ?: 'admin');
|
||||
Rhymix\Framework\Config::set('debug.write_error_log', strval($vars->debug_write_error_log) ?: 'fatal');
|
||||
|
||||
// Debug content
|
||||
$debug_content = array_values($vars->debug_display_content);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue