BUGFIX Fixed case where $_SERVER['SERVER_SIGNATURE'] was an empty string, use empty() instead of checking if it's set (which it is, but has an empty string) (from r101734)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112225 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
sminnee 2010-10-13 04:28:19 +00:00
parent 66b1ce5e12
commit c63d9cc064

View File

@ -277,7 +277,7 @@ class InstallRequirements {
}
function isApache() {
$signature = isset($_SERVER['SERVER_SIGNATURE'])
$signature = !empty($_SERVER['SERVER_SIGNATURE'])
? $_SERVER['SERVER_SIGNATURE']
: @$_SERVER['SERVER_SOFTWARE'];