public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Commit
[Web] Internal hint to switch to array_key_last instead of array_pop
109eec92
data/web/inc/vars.inc.php | 2 ++
1 file changed, 2 insertions(+)
Diff
diff --git a/data/web/inc/vars.inc.php b/data/web/inc/vars.inc.php
index 9cb4c0da..e402055b 100644
--- a/data/web/inc/vars.inc.php
+++ b/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 =>