Project

General

Profile

« Previous | Next » 

Revision 5cd30ac3

Added by Scott Ullrich over 20 years ago

Process before form events

View differences:

usr/local/www/pkg_edit.php
89 89
if ($_POST) {
90 90
	if($_POST['act'] == "del") {
91 91
		if($pkg['custom_delete_php_command']) {
92
		    if($pkg['custom_php_command_before_form'] <> "")
93
			    eval($pkg['custom_php_command_before_form']);
92 94
		    eval($pkg['custom_delete_php_command']);
93 95
		}
94 96
		write_config();

Also available in: Unified diff