From 1b9b51f3def992d2601a8f36607fc7de34527a49 Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Tue, 29 Nov 2005 15:17:58 +0000 Subject: [PATCH] - Patch #38841 by Morbus/Ber: improved documentation about $base_url and rolled back auto-detection. --- sites/default/settings.php | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/sites/default/settings.php b/sites/default/settings.php index 6f190b7235d5..48d01481d109 100644 --- a/sites/default/settings.php +++ b/sites/default/settings.php @@ -89,17 +89,16 @@ /** * Base URL: * - * The URL of your website's main page. It is not allowed to have - * a trailing slash; Drupal will add it for you. + * The URL to your Drupal installation. It is not allowed + * to have a trailing slash; Drupal will add it for you. * * Examples: - * $base_url = 'http://localhost'; - * $base_url = 'http://example.com/drupal'; - * - * By default, Drupal tries to set the $base_url for you using - * the code below. + * $base_url = 'http://www.example.com'; + * $base_url = 'http://www.example.com:8888'; + * $base_url = 'http://www.example.com/drupal'; + * $base_url = 'https://www.example.com:8888/drupal'; */ -$base_url = 'http://'. $_SERVER['HTTP_HOST']; +$base_url = 'http://www.example.com'; /** * PHP settings: -- GitLab