From 5cd30ac398020d2cb0b91f92422e7e47e5af9693 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 26 Feb 2005 19:49:23 +0000 Subject: Process before form events --- usr/local/www/pkg.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr/local/www/pkg.php') diff --git a/usr/local/www/pkg.php b/usr/local/www/pkg.php index 6eee522..9dbaaf4 100755 --- a/usr/local/www/pkg.php +++ b/usr/local/www/pkg.php @@ -74,6 +74,8 @@ if ($_GET['act'] == "del") { if ($a_pkg[$_GET['id']]) { 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']); } -- cgit v1.1