Explorar o código

[Web] Internal hint to switch to array_key_last instead of array_pop

André %!s(int64=7) %!d(string=hai) anos
pai
achega
109eec923f
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      data/web/inc/vars.inc.php

+ 2 - 0
data/web/inc/vars.inc.php

@@ -27,6 +27,8 @@ if ($https_port === FALSE) {
 } else {
   $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 =>
 //$https_port = 1234;
 // Other settings =>