From ea320e206be4f99c9a5819306ec1b284b1085ed4 Mon Sep 17 00:00:00 2001 From: cash Date: Tue, 12 Oct 2010 22:37:08 +0000 Subject: Fixes #2312 - checking value of arg_separator.output during install git-svn-id: http://code.elgg.org/elgg/trunk@7066 36083f99-b078-4883-b0ff-0f9b5a30f544 --- install/ElggInstaller.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'install/ElggInstaller.php') diff --git a/install/ElggInstaller.php b/install/ElggInstaller.php index e8220ff45..0ed081a9a 100644 --- a/install/ElggInstaller.php +++ b/install/ElggInstaller.php @@ -864,6 +864,15 @@ class ElggInstaller { 'message' => elgg_echo("install:check:php:safe_mode") ); } + + if (ini_get('arg_separator.output') !== '&') { + $separator = htmlspecialchars(ini_get('arg_separator.output')); + $msg = sprintf(elgg_echo("install:check:php:arg_separator"), $separator); + $phpReport[] = array( + 'severity' => 'failure', + 'message' => $msg, + ); + } } /** -- cgit v1.2.3