浏览代码

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

André 6 年之前
父节点
当前提交
109eec923f
共有 1 个文件被更改,包括 2 次插入0 次删除
  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 {
 } 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 =>