boost.admin.debug.inc 666 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
<?php

/**
 * @file
 * Admin page callbacks for the boost module.
 */

/**
 * Form builder; Configure boost settings.
 *
 * @ingroup forms
 * @see system_settings_form()
 */
function boost_admin_debug_settings() {

  $form['boost_message_debug'] = array(
    '#type' => 'checkbox',
    '#title' => t('Send debug info for each request to watchdog.'),
    '#default_value' => variable_get('boost_message_debug', BOOST_MESSAGE_DEBUG),
    '#description' => t('Only use for debugging purposes as this can fill up watchdog fairly quickly.'),
  );

23 24
  // reset htaccess on submit;
  $form['#submit'][] = 'boost_form_submit_handler';
25 26
  return system_settings_form($form);
}