mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-22 09:26:27 +02:00
Merge branch 'dev2.0' of https://github.com/RaspbianFrance/RaspiSMS into dev2.0
This commit is contained in:
commit
dc041a611a
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
|||
$http_server_port = isset($_SERVER['SERVER_PORT']) ? ($_SERVER['SERVER_PORT'] == 80) ? '' : ':' . $_SERVER['SERVER_PORT'] : '';
|
||||
$https = $_SERVER['HTTPS'] ?? false;
|
||||
|
||||
if ( !isset($_SERVER['SERVER_PORT']) || ($_SERVER['SERVER_PORT'] == 80 && !$https) || ($_SERVER['SERVER_PORT'] === 443 && $https) )
|
||||
if ( !isset($_SERVER['SERVER_PORT']) || ($_SERVER['SERVER_PORT'] == 80 && !$https) || ($_SERVER['SERVER_PORT'] == 443 && $https) )
|
||||
{
|
||||
$http_server_port = '';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue