GX-Bug #44583 » UpdaterWindowsFix.patch
src/gambio_updater/classes/RequirementsTesting.inc.php (revision ) | ||
---|---|---|
30 | 30 |
*/ |
31 | 31 |
function RequirementsTesting() |
32 | 32 |
{ |
33 |
$this->server = (strpos($_SERVER['SCRIPT_FILENAME'], 'C') === 0) ? 'windows' : '';
|
|
33 |
$this->server = (strpos($_SERVER['SERVER_SOFTWARE'], 'Microsoft') === 0) ? 'windows' : '';
|
|
34 | 34 |
} |
35 | 35 |
|
36 | 36 |
|