From 4a723b90959bd06fd99f4e901cc29a682db2f532 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 26 Nov 2002 18:38:01 +0000 Subject: - Added some comments/explanation wrt to the "$db_url" settings; this seemed to cause problems/confusion. --- includes/conf.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'includes/conf.php') 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"); # "school", # "work"); -?> \ No newline at end of file +?> -- cgit v1.2.3