diff options
author | Bill Marquette <bill.marquette@gmail.com> | 2009-03-14 01:25:46 -0500 |
---|---|---|
committer | Bill Marquette <bill.marquette@gmail.com> | 2009-03-14 01:26:52 -0500 |
commit | 01da41cf8a21a07734e25a5bce4c2d35f81a0134 (patch) | |
tree | 3500d038d20cbf08e1d6dc3102304cf5f5df1f1b /usr/local/www/getstats.php | |
parent | 9050b9f970dc6531c749be488f57f7c14a89b77a (diff) | |
download | pfsense-01da41cf8a21a07734e25a5bce4c2d35f81a0134.zip pfsense-01da41cf8a21a07734e25a5bce4c2d35f81a0134.tar.gz |
Sajax is no more, long live Prototype
This eliminates one AJAX library, but not all "non-Prototype" AJAX code
Diffstat (limited to 'usr/local/www/getstats.php')
-rw-r--r-- | usr/local/www/getstats.php | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/usr/local/www/getstats.php b/usr/local/www/getstats.php new file mode 100644 index 0000000..1de82b2 --- /dev/null +++ b/usr/local/www/getstats.php @@ -0,0 +1,40 @@ +<?php +/* + carp_status.php + Copyright (C) 2009 Bill Marquette + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, + OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. +*/ + +##|+PRIV +##|*IDENT=page-status-carp +##|*NAME=Status: CARP page +##|*DESCR=Allow access to the 'Status: CARP' page. +##|*MATCH=carp_status.php* +##|-PRIV + +require_once("guiconfig.inc"); +include_once("includes/functions.inc.php"); +echo get_stats(); + +?>
\ No newline at end of file |