diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-12-23 21:47:02 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-12-23 21:47:02 +0000 |
commit | 8c8b305892f3bc66b062a4fd6b46ec37278f0769 (patch) | |
tree | aa7e79aeee29a82e260dfc144ff4d12e0e232110 /modules/system/system.module | |
parent | 2ac4e99feb1c71004a8d3d37ac848e6c8cd65e2d (diff) | |
download | brdo-8c8b305892f3bc66b062a4fd6b46ec37278f0769.tar.gz brdo-8c8b305892f3bc66b062a4fd6b46ec37278f0769.tar.bz2 |
- Added "query log" functionality to Drupal. Inspired by weitzman's
code/patch.
Diffstat (limited to 'modules/system/system.module')
-rw-r--r-- | modules/system/system.module | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/system/system.module b/modules/system/system.module index d9d5c633c..f84c204f8 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -72,6 +72,8 @@ function system_view_options() { // development settings: $output .= "<h3>Development settings</h3>\n"; $output .= form_select("Display timer information", "dev_timer", variable_get("dev_timer", 0), array("Disabled", "Enabled"), "Display the time it took to generate a page. For Drupal development only."); + $output .= form_select("Display query log", "dev_query", variable_get("dev_query", 0), array("Disabled", "Enabled"), "Display a log of the database queries needed to generate the current page."); + $output .= "<hr />\n"; foreach (module_list() as $name) { |