Merge branch 'master' into feature/packages-4075

This commit is contained in:
Eric Lippmann 2014-12-29 15:59:27 +01:00
commit 960cead434
2 changed files with 5 additions and 3 deletions

View File

@ -53,8 +53,10 @@ class AutologinBackendForm extends Form
'strip_username_regexp',
array(
'label' => t('Filter Pattern'),
'description' => t('The regular expression to use to strip specific parts off from usernames. Leave empty if you do not want to strip off anything'),
'value' => '/\@[^$]+$/',
'description' => t(
'The regular expression to use to strip specific parts off from usernames.'
. ' Leave empty if you do not want to strip off anything'
),
'validators' => array(
new Zend_Validate_Callback(function ($value) {
return @preg_match($value, '') !== false;

View File

@ -44,7 +44,7 @@ class LivestatusResourceForm extends Form
'required' => true,
'label' => t('Socket'),
'description' => t('The path to your livestatus socket used for querying monitoring data'),
'value' => realpath(Icinga::app()->getApplicationDir() . '/../var/rw/livestatus')
'value' => '/var/run/icinga2/cmd/livestatus'
)
);