[Web] Internal hint to switch to array_key_last instead of array_pop
parent
73b48fc13e
commit
109eec923f
|
@ -27,6 +27,8 @@ if ($https_port === FALSE) {
|
||||||
} else {
|
} else {
|
||||||
$https_port = substr($_SERVER['HTTP_HOST'], $https_port+1);
|
$https_port = substr($_SERVER['HTTP_HOST'], $https_port+1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: Switch from array_pop to array_key_last with release of PHP 7.3
|
||||||
// Alternatively select port here =>
|
// Alternatively select port here =>
|
||||||
//$https_port = 1234;
|
//$https_port = 1234;
|
||||||
// Other settings =>
|
// Other settings =>
|
||||||
|
|
Loading…
Reference in New Issue