Commit 4a723b90 authored by Dries's avatar Dries

- Added some comments/explanation wrt to the "$db_url" settings; this seemed
  to cause problems/confusion.
parent 8fa7e354
...@@ -3,6 +3,13 @@ ...@@ -3,6 +3,13 @@
# #
# Database settings: # 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"; # $db_url = "pgsql://user:password@hostname/database";
...@@ -38,4 +45,4 @@ ...@@ -38,4 +45,4 @@
# "<a href=\"\module.php?mod=user\">school</a>", # "<a href=\"\module.php?mod=user\">school</a>",
# "<a href=\"\module.php?mod=blog\">work</a>"); # "<a href=\"\module.php?mod=blog\">work</a>");
?> ?>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment