diff options
-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']); |