fix missing variable in logger, tmp-fix dkim settings
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -81,7 +81,7 @@ return array(
|
||||
'dkim_keylength' => array(
|
||||
'label' => array(
|
||||
'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',
|
||||
'varname' => 'dkim_keylength',
|
||||
|
||||
@@ -69,6 +69,7 @@ class FileLogger extends AbstractLogger {
|
||||
* @param string $text
|
||||
*/
|
||||
public function logAction($action = USR_ACTION, $type = LOG_NOTICE, $text = null) {
|
||||
global $lng;
|
||||
|
||||
if (parent::isEnabled()) {
|
||||
|
||||
|
||||
@@ -63,6 +63,7 @@ class SysLogger extends AbstractLogger {
|
||||
*/
|
||||
public function logAction($action = USR_ACTION, $type = LOG_NOTICE, $text = null) {
|
||||
|
||||
global $lng;
|
||||
if (parent::isEnabled()) {
|
||||
|
||||
if (parent::getSeverity() <= 1
|
||||
|
||||
Reference in New Issue
Block a user