From eb5855d3e3e55f7f200b53226ca0fcd16c7e4c76 Mon Sep 17 00:00:00 2001 From: cash Date: Tue, 19 Oct 2010 01:27:00 +0000 Subject: added a check for register globals git-svn-id: http://code.elgg.org/elgg/trunk@7096 36083f99-b078-4883-b0ff-0f9b5a30f544 --- install/ElggInstaller.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'install/ElggInstaller.php') 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") + ); + } } /** -- cgit v1.2.3