diff options
-rw-r--r-- | includes/conf.php | 41 |
1 files changed, 26 insertions, 15 deletions
diff --git a/includes/conf.php b/includes/conf.php index 2da4bf43a..96683f6b7 100644 --- a/includes/conf.php +++ b/includes/conf.php @@ -3,14 +3,14 @@ # # Database settings: -# Note that the $db_url variable gets parsed using PHP's built-in +# +# 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 '#', ''', '"', +# That is, the use of ':', '/', '@', '?', '=' and '#', ''', '"', # and so on is likely to confuse the parser; use alpha-numerical -# characters instead. -# +# characters instead. # $db_url = "pgsql://user:password@hostname/database"; # $db_url = "mysql://user:password@hostname/database"; @@ -20,9 +20,15 @@ $db_url = "mysql://drupal:drupal@localhost/drupal"; # # PHP settings: # - -# Avoid "page has expired" problems when browsing from your cache or history -# after having filled out a form: +# The following PHP settings are known to work well: +# magic_quotes_gpc 0 +# magic_quotes_runtime 0 +# magic_quotes_sybase 0 +# track_vars 1 +# register_globals 1 + +# Avoid "page has expired" problems when browsing from your cache or +# history after having filled out a form: // ini_set("session.cache_limiter", ""); # If required, update PHP's include path to include your PEAR directory: @@ -30,19 +36,24 @@ $db_url = "mysql://drupal:drupal@localhost/drupal"; # # Languages / translation / internationalization: +# # 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. $languages = array("en" => "English"); -# Custom Navigation Links override the standard page links -# offerred by most Drupal modules. Administrators may -# add/remove/reorder nav links here. These links are typically -# displayed in a row near the top of every page. -# $custom_links = array( -# "<a href=\"\index.php\">home</a>", -# "<a href=\"\module.php?mod=user\">school</a>", -# "<a href=\"\module.php?mod=blog\">work</a>"); +# +# Custom navigation links: +# +# Custom navigation links override the standard page links offerred +# 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( +// "<a href=\"\index.php\">home</a>", +// "<a href=\"\module.php?mod=user\">school</a>", +// "<a href=\"\module.php?mod=blog\">work</a>"); + ?> |