diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-06-08 22:10:34 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-06-08 22:10:34 +0000 |
commit | 33ef3f7c16a0257eb3fdb4f9160ba649ca1b1f98 (patch) | |
tree | fef3698cd750e6c1a536fb1fdb85b71827f76a7e /etc/inc/pkg-utils.inc | |
parent | 149dbafd09a2988906050015e1b5ae996be77937 (diff) | |
download | pfsense-33ef3f7c16a0257eb3fdb4f9160ba649ca1b1f98.zip pfsense-33ef3f7c16a0257eb3fdb4f9160ba649ca1b1f98.tar.gz |
Call custom_php_command_before_form before resync
Diffstat (limited to 'etc/inc/pkg-utils.inc')
-rw-r--r-- | etc/inc/pkg-utils.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc index f621e40..43c5611 100644 --- a/etc/inc/pkg-utils.inc +++ b/etc/inc/pkg-utils.inc @@ -549,6 +549,11 @@ function install_package_xml($pkg) { $static_output .= "done.\n"; update_output_window($static_output); } + /* call our before form property since we may be declaring functions + in it that are called later */ + if($pkg_config['custom_php_command_before_form'] <> "") { + eval($pkg_config['custom_php_command_before_form']); + } /* call our resync function */ if($pkg_config['custom_php_resync_config_command'] <> "") { eval($pkg_config['custom_php_resync_config_command']); |