Append query ID and IP address as a /* comment */ to every query, if enabled in debug settings

This commit is contained in:
Kijin Sung 2021-01-13 22:14:15 +09:00
parent fcc3db3a7a
commit 4805a1864b
7 changed files with 47 additions and 1 deletions

View file

@ -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