conf.php 2.11 KB
Newer Older
Dries's avatar
 
Dries committed
1
<?php
2
// $Id$
Dries's avatar
Dries committed
3 4

#
Dries's avatar
 
Dries committed
5
# Database settings:
Dries's avatar
 
Dries committed
6 7
#
#   Note that the $db_url variable gets parsed using PHP's built-in
Dries's avatar
 
Dries committed
8 9 10
#   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.
Dries's avatar
 
Dries committed
11
#   That is, the use of ':', '/', '@', '?', '=' and '#', ''', '"',
Dries's avatar
 
Dries committed
12
#   and so on is likely to confuse the parser; use alpha-numerical
Dries's avatar
 
Dries committed
13
#   characters instead.
Dries's avatar
 
Dries committed
14

Dries's avatar
 
Dries committed
15
# $db_url = "mysql://user:password@hostname/database";
Dries's avatar
 
Dries committed
16 17
# $db_url = "pgsql://user:password@hostname/database";
# $db_url = "mssql://user:password@hostname/database";
18
$db_url = "mysql://drupal:drupal@localhost/drupal";
Dries's avatar
 
Dries committed
19

Dries's avatar
 
Dries committed
20 21 22 23 24 25
#   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 = "";

Dries's avatar
 
Dries committed
26 27 28
#
# Base URL:
#
Dries's avatar
 
Dries committed
29 30
#   The URL of your website's main page.  It is not allowed to have
#   a trailing slash; Drupal will add it for you.
Dries's avatar
 
Dries committed
31 32 33
#
$base_url = "http://localhost";

Dries's avatar
 
Dries committed
34 35 36
#
# PHP settings:
#
Dries's avatar
 
Dries committed
37
#   To see what PHP settings are known to work well, take a look at
Dries's avatar
 
Dries committed
38 39
#   the .htaccesss file in Drupal's root directory.  If you get
#   unexcepted warnings or errors, double-check your PHP settings.
Dries's avatar
 
Dries committed
40 41 42 43

# If required, update PHP's include path to include your PEAR directory:
// ini_set("include_path", ".:/path/to/pear");

Dries's avatar
 
Dries committed
44 45
#
# Languages / translation / internationalization:
Dries's avatar
 
Dries committed
46
#
natrak's avatar
CHANGES  
natrak committed
47 48 49 50
#   The first language listed in this associative array will
#   automatically become the default language.  You can add a language
#   but make sure your SQL table, called locales is updated
#   appropriately.
Dries's avatar
 
Dries committed
51
$languages = array("en" => "english");
Dries's avatar
 
Dries committed
52

Dries's avatar
 
Dries committed
53 54 55
#
# Custom navigation links:
#
Dries's avatar
 
Dries committed
56
# Custom navigation links override the standard page links offered
Dries's avatar
 
Dries committed
57 58 59 60
# by most Drupal modules. Administrators may add/remove/reorder all
# links here.  These links are typically displayed in a row near the
# top of every page.
// $custom_links = array(
Dries's avatar
 
Dries committed
61
//  "<a href=\"index.php\">home</a>",
Dries's avatar
 
Dries committed
62 63
//  "<a href=\"blog\">journal</a>",
//  "<a href=\"story\">articles</a>");
64

Dries's avatar
 
Dries committed
65
?>