Commit 1b9b51f3 authored by Dries's avatar Dries

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

- Patch #38841 by Morbus/Ber: improved documentation about $base_url and rolled back auto-detection.
parent ecd6969d
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment