Skip to content

Commit

Permalink
Config: Hint that moduleFolder directive is currently not in use
Browse files Browse the repository at this point in the history
refs #3776
  • Loading branch information
lippserd committed Aug 21, 2013
1 parent 8ac914b commit cd2ae04
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 17 deletions.
5 changes: 4 additions & 1 deletion application/forms/Config/GeneralForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,10 @@ private function addModuleSettings(Zend_Config $cfg)
array(
'label' => 'Module Folder',
'required' => true,
'helptext' => 'Use this folder to activate modules (must be writable by your webserver)',
'helptext' => 'The moduleFolder directive is currently not used anywhere but '
. 'configureable via the frontend and ini. With feature #4607 moduleFolder '
. 'will be replaced with a configuration directive for locations of '
. 'installed modules',
'value' => $cfg->get('moduleFolder', $this->getConfigDir() . '/config/enabledModules')
)
);
Expand Down
36 changes: 21 additions & 15 deletions config/config.ini
Original file line number Diff line number Diff line change
@@ -1,30 +1,36 @@
[global]
environment = development
timezone = "Europe/Berlin"
indexModule = monitoring
indexController = dashboard
moduleFolder = "/etc/icinga2-web/enabledModules"
dateFormat = "d/m/Y"
timeFormat = "g:i A"
environment = "development"
timezone = "Europe/Berlin"
indexModule = "monitoring"
indexController = "dashboard"
; The moduleFolder directive is currently not used anywhere but configureable
; via the frontend and this file. With feature #4607 moduleFolder will
; be replaced with a configuration directive for locations of
; installed modules
moduleFolder = "/etc/icinga2-web/enabledModules"
dateFormat = "d/m/Y"
timeFormat = "g:i A"

[logging]
; General log
enable = 1
type = stream
verbose = 1
target = /tmp/icinga2.log
enable = "1"
type = "stream"
verbose = "1"
target = "/tmp/icinga2.log"

; For development and debug purposes: Logs additional (non critical) events to a
; seperate log
debug.enable = 1
debug.type = stream
debug.target = /tmp/icinga2.debug.log
debug.enable = "1"
debug.type = "stream"
debug.target = "/tmp/icinga2.debug.log"

; Use ini store to store preferences on local disk
[preferences]
type=ini
type = "ini"

; Use database to store preference into mysql or postgres
;[preferences]
;type=db
;resource=icingaweb-mysql

configPath = "/vagrant/config/preferences"
2 changes: 1 addition & 1 deletion library/Icinga/Web/Controller/ActionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class ActionController extends ZfController
protected $modifiesSession = false;

/**
* True if authentication suceeded, otherwise false
* True if authentication succeeded, otherwise false
*
* @var bool
*/
Expand Down

0 comments on commit cd2ae04

Please sign in to comment.