aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--install/ElggInstaller.php7
-rw-r--r--install/languages/en.php1
2 files changed, 8 insertions, 0 deletions
diff --git a/install/ElggInstaller.php b/install/ElggInstaller.php
index b1b9f9dc6..66d1038ab 100644
--- a/install/ElggInstaller.php
+++ b/install/ElggInstaller.php
@@ -955,6 +955,13 @@ class ElggInstaller {
'message' => $msg,
);
}
+
+ if (ini_get('register_globals')) {
+ $phpReport[] = array(
+ 'severity' => 'failure',
+ 'message' => elgg_echo("install:check:php:register_globals")
+ );
+ }
}
/**
diff --git a/install/languages/en.php b/install/languages/en.php
index ff6b7e4a9..ed42aa685 100644
--- a/install/languages/en.php
+++ b/install/languages/en.php
@@ -41,6 +41,7 @@ If you are ready to proceed, click the Next button.",
'install:check:php:open_basedir' => 'The open_basedir PHP directive may prevent Elgg from saving files to its data directory.',
'install:check:php:safe_mode' => 'Running PHP in safe mode is not recommened and may cause problems with Elgg.',
'install:check:php:arg_separator' => 'arg_separator.output must be & for Elgg to work and your server\'s value is %s',
+ 'install:check:php:register_globals' => 'Register globals must be turned off.',
'install:check:enginedir' => 'Your web server does not have permission to create the settings.php file in the engine directory. You have two choices: