From e95a2df7dd6e772100215fedaacbb988f9f1e20f Mon Sep 17 00:00:00 2001 From: aoneil Date: Thu, 13 Mar 2008 22:56:55 +0000 Subject: [PATCH] #2282 Undefined index in install.php (merged from trunk, r50698) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.2.2@51062 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.php b/install.php index 7c52218..ad64d20 100644 --- a/install.php +++ b/install.php @@ -155,7 +155,7 @@ class InstallRequirements { $this->requireTempFolder(array('File permissions', 'Is the temporary folder writeable?', null)); // Check for web server, unless we're calling the installer from the command-line - if(!$_SERVER['argv']) { + if(!isset($_SERVER['argv']) || !$_SERVER['argv']) { $webserver = strip_tags(trim($_SERVER['SERVER_SIGNATURE'])); if($webserver == '') { $webserver = "I can't tell what webserver you are running";