diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-05-21 22:20:44 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-05-21 22:20:44 -0400 |
commit | 38080cc14c677802493b3a7670498dca8a5e851f (patch) | |
tree | 5d7be138b5631faa9800580923b199b709cfebfa /usr/local | |
parent | 7a7e94a7be45209c9043678e292e7b7873d0a5a4 (diff) | |
download | pfsense-38080cc14c677802493b3a7670498dca8a5e851f.zip pfsense-38080cc14c677802493b3a7670498dca8a5e851f.tar.gz |
Move get_include_contents function to pfsense-utils.inc
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/captiveportal/index.php | 10 |
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 ; |