Commit bb3d6107 authored by Dries's avatar Dries
Browse files

- Let Drupal try to resolve the . Makes configuration a tad easier.

parent b1b1e204
......@@ -79,9 +79,9 @@
* );
*
* Database URL format:
* $db_url = 'mysql://username:password@localhost/database';
* $db_url = 'mysqli://username:password@localhost/database';
* $db_url = 'pgsql://username:password@localhost/database';
* $db_url = 'mysql://username:password@localhost/database';
* $db_url = 'mysqli://username:password@localhost/database';
* $db_url = 'pgsql://username:password@localhost/database';
*/
$db_url = 'mysql://username:password@localhost/database';
$db_prefix = '';
......@@ -90,9 +90,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.
* 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://localhost';
$base_url = 'http://'. $_SERVER['HTTP_HOST'];
/**
* 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