diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-11-24 22:44:01 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-11-24 22:44:01 +0000 |
commit | 5d759ccbb9764e4c0328ce7fc4a83df8b958cf85 (patch) | |
tree | 99a4f638669ab176c5714c87cb982c19dab04528 /sites | |
parent | 062a8abdeae40ab03004f7c11dc21b7a13b57ca1 (diff) | |
download | brdo-5d759ccbb9764e4c0328ce7fc4a83df8b958cf85.tar.gz brdo-5d759ccbb9764e4c0328ce7fc4a83df8b958cf85.tar.bz2 |
- Patch #5942 by jhriggs and Adrian:
+ added support for multi-site configurations.
+ tidied up some old cruft and added code comments.
Diffstat (limited to 'sites')
-rw-r--r-- | sites/default/settings.php | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/sites/default/settings.php b/sites/default/settings.php new file mode 100644 index 000000000..365d4fd68 --- /dev/null +++ b/sites/default/settings.php @@ -0,0 +1,68 @@ +<?php +// $Id$ + +/** + * @file + * Drupal site-specific configuration file. + */ + +# +# Database settings: +# +# Note that the $db_url variable gets parsed using PHP's built-in +# URL parser (i.e. using the "parse_url()" function) so make sure +# not to confuse the parser. In practice, you should avoid using +# special characters that are not used in "normal" URLs either. +# That is, the use of ':', '/', '@', '?', '=' and '#', ''', '"', +# and so on is likely to confuse the parser; use alpha-numerical +# characters instead. +# +# To specify multiple connections to be used in your site (i.e. for +# complex custom modules) you can also specify an associative array +# of $db_url variables with the 'default' element used until otherwise +# requested. + +# $db_url = "mysql://user:password@hostname/database"; +# $db_url = "pgsql://user:password@hostname/database"; +$db_url = "mysql://drupal:drupal@localhost/drupal"; + +# If $db_prefix is specified all database table names will be +# prepended with this string. Be sure to use valid database +# characters only, usually alphanumeric and underscore. If no +# prefixes are desired, set to empty string "". +$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. +# +$base_url = "http://localhost"; + +# +# PHP settings: +# +# To see what PHP settings are known to work well, take a look at +# the .htaccesss file in Drupal's root directory. If you get +# unexpected warnings or errors, double-check your PHP settings. + +# If required, update PHP's include path to include your PEAR directory: +// ini_set("include_path", ".:/path/to/pear"); + +# +# Variable overrides: +# +# To override specific entries in the 'variable' table for this site, +# set them here. You usually don't need to use this feature. This is +# useful when used in a configuration file for a vhost or directory, +# rather than the default conf.php. Any configuration setting from the +# variable table can be given a new value. +# +# $conf = array( +# 'site_name' => 'My Drupal site', +# 'theme_default' => 'pushbutton', +# 'anonymous' => 'Visitor' +# ); + +?> |