Try to fix iTunes RSS compatibility
This commit is contained in:
parent
30c9c730be
commit
bdddd6f6ce
3 changed files with 8 additions and 3 deletions
|
@ -44,7 +44,12 @@ class Application_Common_HTTPHelper
|
|||
$basePort = "443"; //Airtime Pro compatibility hack
|
||||
}
|
||||
|
||||
$stationUrl = "$scheme://${baseUrl}:${basePort}${baseDir}";
|
||||
$portStr = "";
|
||||
if (!(($scheme == "http" && $basePort == "80")
|
||||
|| ($scheme == "https" && $basePort == "443"))) {
|
||||
$portStr = ":${basePort}";
|
||||
}
|
||||
$stationUrl = "$scheme://${baseUrl}${portStr}${baseDir}";
|
||||
|
||||
return $stationUrl;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue