summaryrefslogtreecommitdiff
path: root/app/check_setup.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-05-17 10:00:44 -0400
committerFrederic Guillot <fred@kanboard.net>2015-05-17 10:00:44 -0400
commit085468346c49e059ab7b7fc6d21fa2dda56f2fd9 (patch)
tree0d176433df3e91ac2862ad7b38d21ccecece3fbb /app/check_setup.php
parent4d6e5d2e2cc0950114cc3ca9f32e66aa779d3b48 (diff)
Update FAQ and override wrong value of arg_separator.output during check_setup
Diffstat (limited to 'app/check_setup.php')
-rw-r--r--app/check_setup.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/check_setup.php b/app/check_setup.php
index afb08f6a..065b8e10 100644
--- a/app/check_setup.php
+++ b/app/check_setup.php
@@ -33,3 +33,8 @@ if (! extension_loaded('mbstring')) {
if (! is_writable('data')) {
die('The directory "data" must be writeable by your web server user');
}
+
+// Fix wrong value for arg_separator.output, used by the function http_build_query()
+if (ini_get('arg_separator.output') === '&amp;') {
+ ini_set('arg_separator.output', '&');
+}