You are here

function cdn_admin_other_settings_form in CDN 6

Same name and namespace in other branches
  1. 6.2 cdn.admin.inc \cdn_admin_other_settings_form()
  2. 7.2 cdn.admin.inc \cdn_admin_other_settings_form()

Form definition; other settings.

1 string reference to 'cdn_admin_other_settings_form'
cdn_menu in ./cdn.module
Implementation of hook_menu().

File

./cdn.admin.inc, line 131
Settings administration UI.

Code

function cdn_admin_other_settings_form() {
  $form[CDN_DRUPAL_ROOT_VARIABLE] = array(
    '#type' => 'textfield',
    '#title' => t('Drupal root directory'),
    '#description' => t('In 99% of the cases the default value is sufficient and correct. In
      some advanced setups that make use of symbolic links however, it is
      possible that the Drupal root directory is incorrectly detected. In
      those cases, you should enter it here.<br />
      <strong>This setting only affects the status report, it does not affect
      the CDN integration itself in any way.</strong>'),
    '#default_value' => variable_get(CDN_DRUPAL_ROOT_VARIABLE, realpath('.')),
  );
  return system_settings_form($form);
}