- Patch #38841 by Morbus/Ber: improved documentation about $base_url and rolled back auto-detection.

4.7.x
Dries Buytaert 2005-11-29 15:17:58 +00:00
parent ecd6969d9f
commit 1b9b51f3de
1 changed files with 7 additions and 8 deletions

View File

@ -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: