diff options
Diffstat (limited to 'usr/local/www/pkg_edit.php')
-rwxr-xr-x | usr/local/www/pkg_edit.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/pkg_edit.php b/usr/local/www/pkg_edit.php index b3b157f..e9f8f49 100755 --- a/usr/local/www/pkg_edit.php +++ b/usr/local/www/pkg_edit.php @@ -89,6 +89,8 @@ if($pkg['custom_php_command_before_form'] <> "") if ($_POST) { if($_POST['act'] == "del") { if($pkg['custom_delete_php_command']) { + if($pkg['custom_php_command_before_form'] <> "") + eval($pkg['custom_php_command_before_form']); eval($pkg['custom_delete_php_command']); } write_config(); |