summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/conf.php9
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
+?>