mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 15:24:05 +02:00
parent
c0c7a815f8
commit
0e57887e9a
@ -229,16 +229,6 @@ class GeneralForm extends Form
|
|||||||
*/
|
*/
|
||||||
private function addModuleSettings(Zend_Config $cfg)
|
private function addModuleSettings(Zend_Config $cfg)
|
||||||
{
|
{
|
||||||
$this->addElement(
|
|
||||||
'text',
|
|
||||||
'module_folder',
|
|
||||||
array(
|
|
||||||
'label' => 'Module Folder',
|
|
||||||
'required' => true,
|
|
||||||
'helptext' => 'The directory that contains the symlink to all enabled directories.',
|
|
||||||
'value' => $cfg->get('moduleFolder', $this->getConfigDir() . '/config/enabledModules')
|
|
||||||
)
|
|
||||||
);
|
|
||||||
$this->addElement(
|
$this->addElement(
|
||||||
'text',
|
'text',
|
||||||
'module_path',
|
'module_path',
|
||||||
@ -424,7 +414,6 @@ class GeneralForm extends Form
|
|||||||
$cfg->global->environment = ($values['environment'] == 1) ? 'development' : 'production';
|
$cfg->global->environment = ($values['environment'] == 1) ? 'development' : 'production';
|
||||||
$cfg->global->language = $values['language'];
|
$cfg->global->language = $values['language'];
|
||||||
$cfg->global->timezone = $values['timezone'];
|
$cfg->global->timezone = $values['timezone'];
|
||||||
$cfg->global->moduleFolder = $values['module_folder'];
|
|
||||||
$cfg->global->modulePath = $values['module_path'];
|
$cfg->global->modulePath = $values['module_path'];
|
||||||
$cfg->global->dateFormat = $values['date_format'];
|
$cfg->global->dateFormat = $values['date_format'];
|
||||||
$cfg->global->timeFormat = $values['time_format'];
|
$cfg->global->timeFormat = $values['time_format'];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user