aboutsummaryrefslogtreecommitdiff
path: root/install/ElggInstaller.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-19 01:27:00 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-19 01:27:00 +0000
commiteb5855d3e3e55f7f200b53226ca0fcd16c7e4c76 (patch)
tree6706fee158ce9f3f5372e1e06f382d307b7b1b65 /install/ElggInstaller.php
parent2819e203902392e229564e734194c5c8f8e26db5 (diff)
downloadelgg-eb5855d3e3e55f7f200b53226ca0fcd16c7e4c76.tar.gz
elgg-eb5855d3e3e55f7f200b53226ca0fcd16c7e4c76.tar.bz2
added a check for register globals
git-svn-id: http://code.elgg.org/elgg/trunk@7096 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'install/ElggInstaller.php')
-rw-r--r--install/ElggInstaller.php7
1 files changed, 7 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")
+ );
+ }
}
/**