mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-05 19:41:55 +02:00
Use latest php-cs-fixer version
This commit is contained in:
parent
356b8f1e43
commit
47a6585c88
298 changed files with 7977 additions and 4559 deletions
|
@ -67,8 +67,10 @@ if ((isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PRO
|
|||
|
||||
if (isset($_SERVER['HTTP_X_FORWARDED_PORT'])) {
|
||||
$http_port = $_SERVER['HTTP_X_FORWARDED_PORT'];
|
||||
} else if (isset($_SERVER['SERVER_PORT'])) {
|
||||
$http_port = $_SERVER['SERVER_PORT'];
|
||||
} else {
|
||||
if (isset($_SERVER['SERVER_PORT'])) {
|
||||
$http_port = $_SERVER['SERVER_PORT'];
|
||||
}
|
||||
}
|
||||
if (!isset($http_port) || empty($http_port)) {
|
||||
$http_port = 80;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue