mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Fixed Trac #286: incorrect detection of HTTPS on IIS/ISAPI. Thanks to cprobst for reporting it.
SVN:trunk[896]
This commit is contained in:
@@ -33,7 +33,7 @@ $sMyWsdl = './itop.wsdl.tpl';
|
||||
|
||||
$sRawFile = file_get_contents($sMyWsdl);
|
||||
|
||||
$sServerURI = 'http'.(empty($_SERVER['HTTPS']) ? '' : 's').'://'.$_SERVER['SERVER_NAME'].':'.$_SERVER['SERVER_PORT'].dirname($_SERVER['SCRIPT_NAME']).'/soapserver.php';
|
||||
$sServerURI = 'http'.((empty($_SERVER['HTTPS']) && ($_SERVER['HTTPS']!='off')) ? '' : 's').'://'.$_SERVER['SERVER_NAME'].':'.$_SERVER['SERVER_PORT'].dirname($_SERVER['SCRIPT_NAME']).'/soapserver.php';
|
||||
|
||||
$sFinalFile = str_replace(
|
||||
'___SOAP_SERVER_URI___',
|
||||
|
||||
Reference in New Issue
Block a user