Skip to content
Snippets Groups Projects
Commit e9c89a7a authored by Marius Burkard's avatar Marius Burkard
Browse files

- fixed missing tpl class loading

parent 5e807fd4
No related branches found
No related tags found
No related merge requests found
......@@ -215,6 +215,8 @@ class postfix_server_plugin {
}
if($mail_config['content_filter'] == 'rspamd' && ($mail_config['rspamd_password'] != $old_ini_data['mail']['rspamd_password'] || $mail_config['content_filter'] != $old_ini_data['mail']['content_filter'])) {
$app->load('tpl');
$tpl = new tpl();
$tpl->newTemplate('rspamd_worker-controller.inc.master');
$tpl->setVar('rspamd_password', $mail_config['rspamd_password']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment