summaryrefslogtreecommitdiff
path: root/modules/system/system.admin.inc
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-11-26 08:06:52 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-11-26 08:06:52 +0000
commitf337abfa697395f2b39ac7d542e66da5538fa3f4 (patch)
treef9fb1a1dce5164a4454467db500ec7c47ab7b4a5 /modules/system/system.admin.inc
parent6dd28cafed3bb7efe736aff1c7a273621e632b64 (diff)
downloadbrdo-f337abfa697395f2b39ac7d542e66da5538fa3f4.tar.gz
brdo-f337abfa697395f2b39ac7d542e66da5538fa3f4.tar.bz2
#173408 by markus_petrux / add1sun: move proxy IP configuration options to settings.php, because these need to be used before Drupal has the variables loaded from the database
Diffstat (limited to 'modules/system/system.admin.inc')
-rw-r--r--modules/system/system.admin.inc14
1 files changed, 0 insertions, 14 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index ee89a2db4..07168c502 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -1249,20 +1249,6 @@ function system_performance_settings() {
'#description' => t("This option can interfere with module development. It is recommended to only turn this on when your site is complete."),
);
- $form['reverse_proxy'] = array(
- '#type' => 'fieldset',
- '#title' => t('Reverse proxy'),
- '#description' => t('Proper extraction of client IP addresses when Drupal is behind a reverse proxy.'),
- );
-
- $form['reverse_proxy']['reverse_proxy'] = array(
- '#type' => 'radios',
- '#title' => t('Reverse proxy'),
- '#default_value' => variable_get('reverse_proxy', FALSE),
- '#options' => array(t('Disabled'), t('Enabled')),
- '#description' => t('Enable this setting to determine the correct IP address of the remote client by examining information stored in the X-Forwarded-For headers. X-Forwarded-For headers are a standard mechanism for identifying client systems connecting through a reverse proxy server, such as Squid or Pound. Reverse proxy servers are often used to enhance the performance of heavily visited sites and may also provide other site caching, security or encryption benefits. If this Drupal installation operates behind a reverse proxy, this setting should be enabled so that correct IP address information is captured in Drupal\'s session management, logging, statistics and access management systems; if you are unsure about this setting, do not have a reverse proxy, or Drupal operates in a shared hosting environment, this setting should be set to disabled.'),
- );
-
$form['#submit'][] = 'drupal_clear_css_cache';
$form['#submit'][] = 'drupal_clear_js_cache';