diff options
author | smos <seth.mos@dds.nl> | 2012-01-19 20:33:41 +0100 |
---|---|---|
committer | smos <seth.mos@dds.nl> | 2012-01-19 20:33:41 +0100 |
commit | cfbfd9412b70bda8c34127b8b7dfdceff4872390 (patch) | |
tree | 465ee07c80898171a4cc41a6ac82d9133012797d /usr/local/captiveportal | |
parent | 80c88a686d0e56b2f2ad774da05debb1a2afba47 (diff) | |
download | pfsense-cfbfd9412b70bda8c34127b8b7dfdceff4872390.zip pfsense-cfbfd9412b70bda8c34127b8b7dfdceff4872390.tar.gz |
The function split() is replaced by the function explode(). Starting with PHP 5.3 this is deprecated and with version 6 gone.
Replacing it surpresses all the warnings
Diffstat (limited to 'usr/local/captiveportal')
-rwxr-xr-x | usr/local/captiveportal/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/captiveportal/index.php b/usr/local/captiveportal/index.php index 040b6bb..3629f15 100755 --- a/usr/local/captiveportal/index.php +++ b/usr/local/captiveportal/index.php @@ -147,7 +147,7 @@ EOD; // $timecredit contains either a credit in minutes or an error message if ($timecredit > 0) { // voucher is valid. Remaining minutes returned // if multiple vouchers given, use the first as username - $a_vouchers = split("[\t\n\r ]+",$voucher); + $a_vouchers = explode("[\t\n\r ]+",$voucher); $voucher = $a_vouchers[0]; $attr = array( 'voucher' => 1, 'session_timeout' => $timecredit*60, |