fix missing variable in logger, tmp-fix dkim settings

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2013-12-15 16:46:15 +01:00
parent 1af06b2413
commit 2f707974e2
3 changed files with 3 additions and 1 deletions

View File

@@ -81,7 +81,7 @@ return array(
'dkim_keylength' => array( 'dkim_keylength' => array(
'label' => array( 'label' => array(
'title' => $lng['dkim']['dkim_keylength']['title'], 'title' => $lng['dkim']['dkim_keylength']['title'],
'description' => sprintf($lng['dkim']['dkim_keylength']['description'],Settings::Get('dkim.dkim_prefix')) 'description' => $lng['dkim']['dkim_keylength']['description']
), ),
'settinggroup' => 'dkim', 'settinggroup' => 'dkim',
'varname' => 'dkim_keylength', 'varname' => 'dkim_keylength',

View File

@@ -69,6 +69,7 @@ class FileLogger extends AbstractLogger {
* @param string $text * @param string $text
*/ */
public function logAction($action = USR_ACTION, $type = LOG_NOTICE, $text = null) { public function logAction($action = USR_ACTION, $type = LOG_NOTICE, $text = null) {
global $lng;
if (parent::isEnabled()) { if (parent::isEnabled()) {

View File

@@ -63,6 +63,7 @@ class SysLogger extends AbstractLogger {
*/ */
public function logAction($action = USR_ACTION, $type = LOG_NOTICE, $text = null) { public function logAction($action = USR_ACTION, $type = LOG_NOTICE, $text = null) {
global $lng;
if (parent::isEnabled()) { if (parent::isEnabled()) {
if (parent::getSeverity() <= 1 if (parent::getSeverity() <= 1