Skip to content
Snippets Groups Projects
Commit 1b9b51f3 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- 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
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment