diff options
author | Charlie <root@pfsense.local> | 2009-01-22 02:32:36 -0800 |
---|---|---|
committer | Charlie <root@pfsense.local> | 2009-01-22 02:32:36 -0800 |
commit | ad8622208cf9c6f3978bc1a41f2c58b9deafe300 (patch) | |
tree | 0e1c702ee5015e82f76baa3826379046679d1f83 /usr/local/www/system_gateways_edit.php | |
parent | e31534731ec7de3d2599cf669e065b1ec52281a0 (diff) | |
download | pfsense-ad8622208cf9c6f3978bc1a41f2c58b9deafe300.zip pfsense-ad8622208cf9c6f3978bc1a41f2c58b9deafe300.tar.gz |
allow IPv4 gateways to be added via AJAX
Diffstat (limited to 'usr/local/www/system_gateways_edit.php')
-rwxr-xr-x | usr/local/www/system_gateways_edit.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/local/www/system_gateways_edit.php b/usr/local/www/system_gateways_edit.php index 9d64f01..15b60e1 100755 --- a/usr/local/www/system_gateways_edit.php +++ b/usr/local/www/system_gateways_edit.php @@ -158,6 +158,11 @@ if ($_POST) { write_config(); + if($_REQUEST['isAjax']) { + echo $_POST['name']; + exit; + } + header("Location: system_gateways.php"); exit; } |