diff options
author | doktornotor <notordoktor@gmail.com> | 2017-03-05 21:23:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-05 21:23:35 +0100 |
commit | 4fe75c8ef7f87e8051a84420e782921cd9558869 (patch) | |
tree | 883d5da8c118006528b88c903ca8d9d737b1f8af /src/etc/phpshellsessions | |
parent | 32fb5ce746af32462b9289a908252d25a5971210 (diff) | |
download | pfsense-4fe75c8ef7f87e8051a84420e782921cd9558869.zip pfsense-4fe75c8ef7f87e8051a84420e782921cd9558869.tar.gz |
Add reason to write_config() call
Diffstat (limited to 'src/etc/phpshellsessions')
-rw-r--r-- | src/etc/phpshellsessions/removeshaper | 2 |
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"); |