diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2004-12-22 00:38:06 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2004-12-22 00:38:06 +0000 |
commit | 2a520a0a1bc2bd9df601d828f84b9dc17da28147 (patch) | |
tree | bfbddc48d8db3deed011a8a9440364e08829fc2a /usr | |
parent | 65dd1ea3962def0a2720978d72ddfb14d3c4691b (diff) | |
download | pfsense-2a520a0a1bc2bd9df601d828f84b9dc17da28147.zip pfsense-2a520a0a1bc2bd9df601d828f84b9dc17da28147.tar.gz |
Add custom_add_php_command_late tag.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/pkg_edit.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/local/www/pkg_edit.php b/usr/local/www/pkg_edit.php index c7d1b01..e3cfed9 100755 --- a/usr/local/www/pkg_edit.php +++ b/usr/local/www/pkg_edit.php @@ -116,6 +116,10 @@ include("fbegin.inc"); write_config(); + if($pkg['custom_add_php_command_late'] <> "") { + eval($pkg['custom_add_php_command_late']); + } + header("Location: pkg.php?xml=" . $xml); } } @@ -187,7 +191,7 @@ $config = $config_tmp; } else if($pkga['type'] == "radio") { echo "<input type='radio' name='" . $pkga['fieldname'] . "' value='" . $value . "'>"; } - + if($pkga['typehint']) echo " " . $pkga['typehint']; ?> </td> |