aboutsummaryrefslogtreecommitdiff
path: root/install/ElggInstaller.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-12 22:37:08 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-12 22:37:08 +0000
commitea320e206be4f99c9a5819306ec1b284b1085ed4 (patch)
tree71c509663c3040a038bd4eb249b708537f180691 /install/ElggInstaller.php
parent1a6bc7aaf9b255eb8dabcc102d4f516e050cd4c0 (diff)
downloadelgg-ea320e206be4f99c9a5819306ec1b284b1085ed4.tar.gz
elgg-ea320e206be4f99c9a5819306ec1b284b1085ed4.tar.bz2
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
Diffstat (limited to 'install/ElggInstaller.php')
-rw-r--r--install/ElggInstaller.php9
1 files changed, 9 insertions, 0 deletions
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,
+ );
+ }
}
/**