set configuration for http proxy

This commit is contained in:
Uwe Steinmann 2020-02-21 10:01:09 +01:00
parent a994659f6c
commit 4675c785db
3 changed files with 12 additions and 0 deletions

View File

@ -96,6 +96,12 @@ class Settings { /* {{{ */
var $_backupDir = null;
// Where the repository for extensions is located
var $_repositoryUrl = null;
// URL of proxy
var $_proxyUrl = null;
// User of proxy
var $_proxyUser = null;
// Password of proxy
var $_proxyPassword = null;
// enable removal of file from dropfolder after success import
var $_removeFromDropFolder = false;
// Where the stop word file is located

View File

@ -127,6 +127,9 @@ if ($action == "saveSettings")
$settings->_dropFolderDir = addDirSep($_POST["dropFolderDir"]);
$settings->_backupDir = addDirSep($_POST["backupDir"]);
$settings->_repositoryUrl = addDirSep($_POST["repositoryUrl"]);
$settings->_proxyUrl = addDirSep($_POST["proxyUrl"]);
$settings->_proxyUser = addDirSep($_POST["proxyUser"]);
$settings->_proxyPassword = addDirSep($_POST["proxyPassword"]);
$settings->_logFileEnable = getBoolValue("logFileEnable");
$settings->_logFileRotation = $_POST["logFileRotation"];
$settings->_enableLargeFileUpload = getBoolValue("enableLargeFileUpload");

View File

@ -348,6 +348,9 @@ $this->showStartPaneContent('site', (!$currenttab || $currenttab == 'site'));
<?php $this->showConfigText('settings_luceneDir', 'luceneDir'); ?>
<?php $this->showConfigText('settings_dropFolderDir', 'dropFolderDir'); ?>
<?php $this->showConfigText('settings_repositoryUrl', 'repositoryUrl'); ?>
<?php $this->showConfigText('settings_proxyUrl', 'proxyUrl'); ?>
<?php $this->showConfigText('settings_proxyUser', 'proxyUser'); ?>
<?php $this->showConfigText('settings_proxyUPassword', 'proxyPassword', 'password'); ?>
<?php $this->showConfigCheckbox('settings_logFileEnable', 'logFileEnable'); ?>
<?php $this->showConfigOption('settings_logFileRotation', 'logFileRotation', array('h'=>'hourly', 'd'=>'daily', 'm'=>'monthly'), false, true); ?>
<?php $this->showConfigCheckbox('settings_enableLargeFileUpload', 'enableLargeFileUpload'); ?>