diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-11-10 19:25:51 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-11-10 19:25:51 +0000 |
commit | 0629cfa95750270261f429880cb98974f790aa41 (patch) | |
tree | 3fcb89182d3fbe8101da0f7c52fd157afe5fc5ff /sites/example.sites.php | |
parent | ea1bd5606ce2da6075fc4344e30e81d074d4eb7c (diff) | |
download | brdo-0629cfa95750270261f429880cb98974f790aa41.tar.gz brdo-0629cfa95750270261f429880cb98974f790aa41.tar.bz2 |
#605924 by ksenzee: Rename default.sites.php to example.sites.php. There is no 'default' about it, and it also screws up tab completion. :P
Diffstat (limited to 'sites/example.sites.php')
-rw-r--r-- | sites/example.sites.php | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/sites/example.sites.php b/sites/example.sites.php new file mode 100644 index 000000000..8c5f84aca --- /dev/null +++ b/sites/example.sites.php @@ -0,0 +1,46 @@ +<?php +// $Id$ + +/** + * @file + * Configuration file for Drupal's multi-site directory aliasing feature. + * + * Drupal searches for an appropriate configuration directory based on the + * website's hostname and pathname. A detailed description of the rules for + * discovering the configuration directory can be found in the comment + * documentation in 'sites/default/default.settings.php'. + * + * This file allows you to define a set of aliases that map hostnames and + * pathnames to configuration directories. These aliases are loaded prior to + * scanning for directories, and they are exempt from the normal discovery + * rules. The aliases are defined in an associative array named $sites, which + * should look similar to the following: + * + * $sites = array( + * 'devexample.com' => 'example.com', + * 'localhost/example' => 'example.com', + * ); + * + * The above array will cause Drupal to look for a directory named + * "example.com" in the sites directory whenever a request comes from + * "example.com", "devexample.com", or "localhost/example". That is useful + * on development servers, where the domain name may not be the same as the + * domain of the live server. Since Drupal stores file paths into the database + * (files, system table, etc.) this will ensure the paths are correct while + * accessed on development servers. + * + * To use this file, copy and rename it such that its path plus filename is + * 'sites/sites.php'. If you don't need to use multi-site directory aliasing, + * then you can safely ignore this file, and Drupal will ignore it too. + */ + +/** + * Multi-site directory aliasing: + * + * Edit the lines below to define directory aliases. Remove the leading hash + * signs to enable. + */ +#$sites = array( +# 'devexample.com' => 'example.com', +# 'localhost/example' => 'example.com', +#); |