function boost_admin_filesystem_settings in Boost 7
Form builder; Configure boost settings.
See also
1 string reference to 'boost_admin_filesystem_settings'
- boost_menu in ./
boost.module - Implements hook_menu().
File
- ./
boost.admin.filesystem.inc, line 14 - Admin page callbacks for the boost module.
Code
function boost_admin_filesystem_settings() {
$form['boost_root_cache_dir'] = array(
'#type' => 'textfield',
'#title' => t('Root cache directory'),
'#default_value' => variable_get('boost_root_cache_dir', BOOST_ROOT_CACHE_DIR),
);
$form['boost_normal_dir'] = array(
'#type' => 'textfield',
'#title' => t('Normal cache directory'),
'#default_value' => variable_get('boost_normal_dir', BOOST_NORMAL_DIR),
);
$form['boost_char'] = array(
'#type' => 'textfield',
'#title' => t('Character replacement for "?" in the URL'),
'#default_value' => variable_get('boost_char', BOOST_CHAR),
);
// reset htaccess on submit;
$form['#submit'][] = 'boost_form_submit_handler';
return system_settings_form($form);
}