NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
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

Add more help text, remove obsolete variable

bfa2e838
AndrĂ© Peters <[email protected]> 9 years ago
data/web/inc/vars.inc.php | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Diff

diff --git a/data/web/inc/vars.inc.php b/data/web/inc/vars.inc.php
index 775af1e1..c5447725 100644
--- a/data/web/inc/vars.inc.php
+++ b/data/web/inc/vars.inc.php
@@ -18,12 +18,17 @@ $database_name = getenv('DBNAME');
 $mailcow_hostname = getenv('MAILCOW_HOSTNAME');
 
 // Autodiscover settings
+// ===
+// Auto-detect HTTPS port =>
 $https_port = strpos($_SERVER['HTTP_HOST'], ':');
 if ($https_port === FALSE) {
   $https_port = 443;
 } else {
   $https_port = substr($_SERVER['HTTP_HOST'], $https_port+1);
 }
+// Alternatively select port here =>
+//$https_port = 1234;
+// Other settings =>
 $autodiscover_config = array(
   // Enable the autodiscover service for Outlook desktop clients
   'useEASforOutlook' => 'yes',
@@ -61,11 +66,6 @@ $autodiscover_config = array(
 );
 unset($https_port);
 
-// Where to go after adding and editing objects
-// Can be "form" or "previous"
-// "form" will stay in the current form, "previous" will redirect to previous page
-$FORM_ACTION = 'previous';
-
 // Change default language, "de", "en", "es", "nl", "pt", "ru"
 $DEFAULT_LANG = 'en';