mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
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:
parent
66b1ce5e12
commit
c63d9cc064
@ -277,7 +277,7 @@ class InstallRequirements {
|
||||
}
|
||||
|
||||
function isApache() {
|
||||
$signature = isset($_SERVER['SERVER_SIGNATURE'])
|
||||
$signature = !empty($_SERVER['SERVER_SIGNATURE'])
|
||||
? $_SERVER['SERVER_SIGNATURE']
|
||||
: @$_SERVER['SERVER_SOFTWARE'];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user