1
0
Fork 0
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:
Afterster 2014-07-18 23:35:33 +02:00
parent 2527b59720
commit a9a050daff
3 changed files with 10 additions and 5 deletions

View file

@ -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;
}