瀏覽代碼

Add more help text, remove obsolete variable

André Peters 8 年之前
父節點
當前提交
bfa2e83803
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. 5 5
      data/web/inc/vars.inc.php

+ 5 - 5
data/web/inc/vars.inc.php

@@ -18,12 +18,17 @@ $database_name = getenv('DBNAME');
 $mailcow_hostname = getenv('MAILCOW_HOSTNAME');
 $mailcow_hostname = getenv('MAILCOW_HOSTNAME');
 
 
 // Autodiscover settings
 // Autodiscover settings
+// ===
+// Auto-detect HTTPS port =>
 $https_port = strpos($_SERVER['HTTP_HOST'], ':');
 $https_port = strpos($_SERVER['HTTP_HOST'], ':');
 if ($https_port === FALSE) {
 if ($https_port === FALSE) {
   $https_port = 443;
   $https_port = 443;
 } else {
 } else {
   $https_port = substr($_SERVER['HTTP_HOST'], $https_port+1);
   $https_port = substr($_SERVER['HTTP_HOST'], $https_port+1);
 }
 }
+// Alternatively select port here =>
+//$https_port = 1234;
+// Other settings =>
 $autodiscover_config = array(
 $autodiscover_config = array(
   // Enable the autodiscover service for Outlook desktop clients
   // Enable the autodiscover service for Outlook desktop clients
   'useEASforOutlook' => 'yes',
   'useEASforOutlook' => 'yes',
@@ -61,11 +66,6 @@ $autodiscover_config = array(
 );
 );
 unset($https_port);
 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"
 // Change default language, "de", "en", "es", "nl", "pt", "ru"
 $DEFAULT_LANG = 'en';
 $DEFAULT_LANG = 'en';