Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

BUGFIX Fixed case where $_SERVER['SERVER_SIGNATURE'] was an empty str…

…ing, 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
  • Loading branch information...
commit c63d9cc0643dc97349c352bbcb9a3ee36de8190c 1 parent 66b1ce5
sminnee authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  install.php
View
2  install.php
@@ -277,7 +277,7 @@ function isIIS() {
}
function isApache() {
- $signature = isset($_SERVER['SERVER_SIGNATURE'])
+ $signature = !empty($_SERVER['SERVER_SIGNATURE'])
? $_SERVER['SERVER_SIGNATURE']
: @$_SERVER['SERVER_SOFTWARE'];
Please sign in to comment.
Something went wrong with that request. Please try again.