summaryrefslogtreecommitdiffstats
path: root/usr/local/captiveportal
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-05-21 22:20:44 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-05-21 22:20:44 -0400
commit38080cc14c677802493b3a7670498dca8a5e851f (patch)
tree5d7be138b5631faa9800580923b199b709cfebfa /usr/local/captiveportal
parent7a7e94a7be45209c9043678e292e7b7873d0a5a4 (diff)
downloadpfsense-38080cc14c677802493b3a7670498dca8a5e851f.zip
pfsense-38080cc14c677802493b3a7670498dca8a5e851f.tar.gz
Move get_include_contents function to pfsense-utils.inc
Diffstat (limited to 'usr/local/captiveportal')
-rwxr-xr-xusr/local/captiveportal/index.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/usr/local/captiveportal/index.php b/usr/local/captiveportal/index.php
index 41ebc9c..4908371 100755
--- a/usr/local/captiveportal/index.php
+++ b/usr/local/captiveportal/index.php
@@ -228,16 +228,6 @@ function portal_reply_page($redirurl, $type = null, $message = null, $clientmac
echo $htmltext;
}
-function get_include_contents($filename) {
- if (is_file($filename)) {
- ob_start();
- include $filename;
- $contents = ob_get_contents();
- ob_end_clean();
- return $contents;
- }
- return false;
-}
function portal_mac_radius($clientmac,$clientip) {
global $config ;
OpenPOWER on IntegriCloud