瀏覽代碼

[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 {
   $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 =>