summaryrefslogtreecommitdiff
path: root/sites
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-11-29 15:17:58 +0000
committerDries Buytaert <dries@buytaert.net>2005-11-29 15:17:58 +0000
commit1b9b51f3def992d2601a8f36607fc7de34527a49 (patch)
treef8c9824b1a412b54d54ccfbf0c0fb64141bb64de /sites
parentecd6969d9f5bf87ccf356c8dd7db1d781d5275a0 (diff)
downloadbrdo-1b9b51f3def992d2601a8f36607fc7de34527a49.tar.gz
brdo-1b9b51f3def992d2601a8f36607fc7de34527a49.tar.bz2
- Patch #38841 by Morbus/Ber: improved documentation about $base_url and rolled back auto-detection.
Diffstat (limited to 'sites')
-rw-r--r--sites/default/settings.php15
1 files changed, 7 insertions, 8 deletions
diff --git a/sites/default/settings.php b/sites/default/settings.php
index 6f190b723..48d01481d 100644
--- a/sites/default/settings.php
+++ b/sites/default/settings.php
@@ -89,17 +89,16 @@ $db_prefix = '';
/**
* 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: