You are here

boost.admin.debug.inc in Boost 7

Admin page callbacks for the boost module.

File

boost.admin.debug.inc
View source
<?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.'),
  );

  // Reset htaccess on submit.
  $form['#submit'][] = 'boost_form_submit_handler';
  return system_settings_form($form);
}

Functions

Namesort descending Description
boost_admin_debug_settings Form builder; Configure boost settings.