From cfbfd9412b70bda8c34127b8b7dfdceff4872390 Mon Sep 17 00:00:00 2001 From: smos Date: Thu, 19 Jan 2012 20:33:41 +0100 Subject: 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 --- usr/local/www/wizards/setup_wizard.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr/local/www/wizards/setup_wizard.xml') 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; ]]> -- cgit v1.1