From 1e45da277b6e28ff65967d38c12b298872efb059 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Fri, 01 Aug 2008 17:37:59 -0400 Subject: [PATCH] Added translation functions for the tabs of forms. --- server/plugins-available/firewall_plugin.inc.php | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/plugins-available/firewall_plugin.inc.php b/server/plugins-available/firewall_plugin.inc.php index 4c8c467..3c1568d 100644 --- a/server/plugins-available/firewall_plugin.inc.php +++ b/server/plugins-available/firewall_plugin.inc.php @@ -85,7 +85,7 @@ } $udp_ports = trim($udp_ports); - + $app->load('tpl'); $tpl = new tpl(); $tpl->newTemplate("bastille-firewall.cfg.master"); @@ -102,7 +102,7 @@ $app->log('Restarting the firewall',LOGLEVEL_DEBUG); } else { exec('/etc/init.d/bastille-firewall stop'); - if(@is_file('/etc/debian_version')) exec('update-rc.d bastille-firewall remove'); + if(@is_file('/etc/debian_version')) exec('update-rc.d -f bastille-firewall remove'); $app->log('Stopping the firewall',LOGLEVEL_DEBUG); } @@ -113,7 +113,7 @@ global $app, $conf; exec('/etc/init.d/bastille-firewall stop'); - if(@is_file('/etc/debian_version')) exec('update-rc.d bastille-firewall remove'); + if(@is_file('/etc/debian_version')) exec('update-rc.d -f bastille-firewall remove'); $app->log('Stopping the firewall',LOGLEVEL_DEBUG); } -- Gitblit v1.9.1