Project

General

Profile

« Previous | Next » 

Revision d402b77f

Added by Scott Ullrich almost 16 years ago

Redirect back to cp page after disconnection of user

View differences:

usr/local/www/status_captiveportal.php
38 38

  
39 39
require("guiconfig.inc");
40 40

  
41

  
42
if ($_GET['act'] == "del") {
43
	captiveportal_disconnect_client($_GET['id']);
44
	Header("status_captiveportal.php");
45
	exit;
46
}
47

  
41 48
$pgtitle = array("Status: Captive portal");
42 49

  
43 50
include("head.inc");
......
49 56
<?php include("fbegin.inc"); ?>
50 57
<?php
51 58

  
52
if ($_GET['act'] == "del") {
53
	captiveportal_disconnect_client($_GET['id']);
54
}
55

  
56 59
flush();
57 60

  
58 61
function clientcmp($a, $b) {

Also available in: Unified diff