aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-06-26 07:55:30 +0000
committerColin Smith <colin@pfsense.org>2005-06-26 07:55:30 +0000
commit918b244655d9b49b5d8ec9a61d8ee9579254221b (patch)
tree511e9c53cbb3812bd87bfaff9e4d32d7d97c04e5
parent99669d3157241c943c8ff2df79d6721bef9187b3 (diff)
downloadpfsense-packages-918b244655d9b49b5d8ec9a61d8ee9579254221b.tar.gz
pfsense-packages-918b244655d9b49b5d8ec9a61d8ee9579254221b.tar.bz2
pfsense-packages-918b244655d9b49b5d8ec9a61d8ee9579254221b.zip
Bugfixes. These address ticket #145.
-rw-r--r--packages/doormanusers.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/doormanusers.xml b/packages/doormanusers.xml
index 86f301e9..e73cd88e 100644
--- a/packages/doormanusers.xml
+++ b/packages/doormanusers.xml
@@ -70,7 +70,7 @@
<type>input</type>
</field>
</fields>
- <custom_php_command_before_form>
+ <custom_php_global_functions>
function sync_package_doorman_users() {
if ($_POST == "") $_POST = $config['installedpackages']['doormanusers']['config'];
conf_mount_rw();
@@ -87,8 +87,8 @@
restart_service("doorman");
conf_mount_ro();
config_unlock();
- }
- </custom_php_command_before_form>
+ }
+ </custom_php_global_functions>
<custom_add_php_command>
sync_package_doorman_users();
</custom_add_php_command>