mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-11 16:35:38 +00:00
set configuration for http proxy
This commit is contained in:
parent
a994659f6c
commit
4675c785db
|
@ -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
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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'); ?>
|
||||
|
|
Loading…
Reference in New Issue
Block a user