diff options
author | Dries Buytaert <dries@buytaert.net> | 2002-11-26 18:38:01 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2002-11-26 18:38:01 +0000 |
commit | 4a723b90959bd06fd99f4e901cc29a682db2f532 (patch) | |
tree | e0289dab5e85401694580419dff3c19af23d38aa | |
parent | 8fa7e354a74016a13e44efe713f693ebcfd6a99a (diff) | |
download | brdo-4a723b90959bd06fd99f4e901cc29a682db2f532.tar.gz brdo-4a723b90959bd06fd99f4e901cc29a682db2f532.tar.bz2 |
- Added some comments/explanation wrt to the "$db_url" settings; this seemed
to cause problems/confusion.
-rw-r--r-- | includes/conf.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/includes/conf.php b/includes/conf.php index 9014e7500..2da4bf43a 100644 --- a/includes/conf.php +++ b/includes/conf.php @@ -3,6 +3,13 @@ # # 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. # # $db_url = "pgsql://user:password@hostname/database"; @@ -38,4 +45,4 @@ $languages = array("en" => "English"); # "<a href=\"\module.php?mod=user\">school</a>", # "<a href=\"\module.php?mod=blog\">work</a>"); -?>
\ No newline at end of file +?> |