From de7e4ac97d2226c4237663e2a9e46d4e3bcc988b Mon Sep 17 00:00:00 2001
From: moodler <moodler>
Date: Tue, 7 Sep 2004 09:49:41 +0000
Subject: [PATCH] Set ampersands for automatic URL parameters

---
 lib/setup.php | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/setup.php b/lib/setup.php
index ccb47b42ca..d17d43db02 100644
--- a/lib/setup.php
+++ b/lib/setup.php
@@ -129,6 +129,10 @@
         $CFG->sessioncookie = '';
     }
 
+/// Configure ampersands in URLs
+
+    @ini_set('arg_separator.output', '&amp;');
+
 /// Location of standard files
 
     $CFG->wordlist    = "$CFG->libdir/wordlist.txt";
-- 
2.39.5