summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces_ppps_edit.php
diff options
context:
space:
mode:
authorsmos <seth.mos@dds.nl>2012-01-19 20:33:41 +0100
committersmos <seth.mos@dds.nl>2012-01-19 20:33:41 +0100
commitcfbfd9412b70bda8c34127b8b7dfdceff4872390 (patch)
tree465ee07c80898171a4cc41a6ac82d9133012797d /usr/local/www/interfaces_ppps_edit.php
parent80c88a686d0e56b2f2ad774da05debb1a2afba47 (diff)
downloadpfsense-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/www/interfaces_ppps_edit.php')
-rw-r--r--usr/local/www/interfaces_ppps_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/interfaces_ppps_edit.php b/usr/local/www/interfaces_ppps_edit.php
index 50378f4..6f95bec 100644
--- a/usr/local/www/interfaces_ppps_edit.php
+++ b/usr/local/www/interfaces_ppps_edit.php
@@ -124,7 +124,7 @@ if (isset($id) && $a_ppps[$id]) {
}
if ($a_ppps[$id]['pppoe-reset-type'] == "custom") {
- $resetTime_a = split(" ", $resetTime);
+ $resetTime_a = explode(" ", $resetTime);
$pconfig['pppoe_pr_custom'] = true;
$pconfig['pppoe_resetminute'] = $resetTime_a[0];
$pconfig['pppoe_resethour'] = $resetTime_a[1];
OpenPOWER on IntegriCloud