mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-05 19:41:55 +02:00
Disable Beautiful Url on XML-API for retro-compatibility reason
This commit is contained in:
parent
2527b59720
commit
a9a050daff
3 changed files with 10 additions and 5 deletions
|
@ -62,7 +62,7 @@ if (isset($_SERVER['HTTP_X_FORWARDED_PORT'])) {
|
|||
} else if (isset($_SERVER['SERVER_PORT'])) {
|
||||
$http_port = $_SERVER['SERVER_PORT'];
|
||||
}
|
||||
if (!isset($http_port) || !$http_port) {
|
||||
if (!isset($http_port) || empty($http_port)) {
|
||||
$http_port = 80;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue