summaryrefslogtreecommitdiffstats
path: root/src/etc/phpshellsessions
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2017-03-05 21:23:35 +0100
committerGitHub <noreply@github.com>2017-03-05 21:23:35 +0100
commit4fe75c8ef7f87e8051a84420e782921cd9558869 (patch)
tree883d5da8c118006528b88c903ca8d9d737b1f8af /src/etc/phpshellsessions
parent32fb5ce746af32462b9289a908252d25a5971210 (diff)
downloadpfsense-4fe75c8ef7f87e8051a84420e782921cd9558869.zip
pfsense-4fe75c8ef7f87e8051a84420e782921cd9558869.tar.gz
Add reason to write_config() call
Diffstat (limited to 'src/etc/phpshellsessions')
-rw-r--r--src/etc/phpshellsessions/removeshaper2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/phpshellsessions/removeshaper b/src/etc/phpshellsessions/removeshaper
index ab35e8e..a715705 100644
--- a/src/etc/phpshellsessions/removeshaper
+++ b/src/etc/phpshellsessions/removeshaper
@@ -37,7 +37,7 @@ foreach ($config['filter']['rule'] as $key => $rule) {
unset($config['filter']['rule'][$key]);
}
}
-if (write_config()) {
+if (write_config(gettext("pfSsh.php removed shaper settings"))) {
echo gettext("Shaper Successfully Removed.\n");
} else {
echo gettext("Unable to write config.xml (Access Denied?)\n");
OpenPOWER on IntegriCloud