mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-17 17:32:15 +09:00
Append query ID and IP address as a /* comment */ to every query, if enabled in debug settings
This commit is contained in:
parent
fcc3db3a7a
commit
4805a1864b
7 changed files with 47 additions and 1 deletions
|
|
@ -626,6 +626,7 @@ class adminAdminView extends admin
|
|||
Context::set('debug_display_type', (array)Rhymix\Framework\Config::get('debug.display_type'));
|
||||
Context::set('debug_display_content', Rhymix\Framework\Config::get('debug.display_content'));
|
||||
Context::set('debug_display_to', Rhymix\Framework\Config::get('debug.display_to'));
|
||||
Context::set('debug_query_comment', Rhymix\Framework\Config::get('debug.query_comment'));
|
||||
Context::set('debug_write_error_log', Rhymix\Framework\Config::get('debug.write_error_log'));
|
||||
|
||||
// IP access control
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue