summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-15 05:40:51 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-15 05:40:51 +0000
commit07bcf7d19261563001e8e7ae2778ce211186d373 (patch)
tree0ea661056c52a34fc35c4392a77a5cc0c79fac2f
parent234df6b3bbc685555d5e98384d19332c33e203ac (diff)
downloadpfsense-07bcf7d19261563001e8e7ae2778ce211186d373.zip
pfsense-07bcf7d19261563001e8e7ae2778ce211186d373.tar.gz
Earth to Esotericisms, check if a client is connected!
-rwxr-xr-xusr/local/www/sajax/index.sajax.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/local/www/sajax/index.sajax.php b/usr/local/www/sajax/index.sajax.php
index 6de3a6f..2dcbad7 100755
--- a/usr/local/www/sajax/index.sajax.php
+++ b/usr/local/www/sajax/index.sajax.php
@@ -2,8 +2,12 @@
<?
require("../includes/sajax.class.php");
require("../includes/functions.inc.php");
+
+ if(Connection_Aborted()) {
+ exit;
+ }
$oSajax = new sajax();
$oSajax->sajax_export("mem_usage","cpu_usage","get_uptime","get_pfstate", "get_temp");
$oSajax->sajax_handle_client_request();
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud