summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizards/setup_wizard.xml
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/wizards/setup_wizard.xml
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/wizards/setup_wizard.xml')
-rw-r--r--usr/local/www/wizards/setup_wizard.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/wizards/setup_wizard.xml b/usr/local/www/wizards/setup_wizard.xml
index 5d672af..cb6b334 100644
--- a/usr/local/www/wizards/setup_wizard.xml
+++ b/usr/local/www/wizards/setup_wizard.xml
@@ -502,11 +502,11 @@
print_info_box_np("Invalid LAN IP Address. Please press back in your browser window and correct.");
die;
}
- $ft = split("\.", $_POST['lanipaddress']);
+ $ft = explode("\.", $_POST['lanipaddress']);
$ft_ip = $ft[0] . "." . $ft[1] . "." . $ft[2] . ".";
$config['dhcpd']['lan']['range']['from'] = $ft_ip . "10";
$highestip = gen_subnet_max($_POST['lanipaddress'], $config['interfaces']['lan']['subnet']);
- $hi = split("\.", $highestip);
+ $hi = explode("\.", $highestip);
$highestip = $hi[3]-10;
$config['dhcpd']['lan']['range']['to'] = $ft_ip . $highestip;
]]>
OpenPOWER on IntegriCloud