mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
#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
This commit is contained in:
parent
ef7a3a676b
commit
e95a2df7dd
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user