aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@world.inf.org>2012-10-31 08:44:32 +0545
committerPhil Davis <phil.davis@world.inf.org>2012-10-31 08:44:32 +0545
commitf01010badde23391094dc5583cea6a54bf4bbf89 (patch)
treeef3555bc929ec7ede20a73444e8e715e203cf9f3 /config
parentd9fb956f9bc179af776b47fe2d81402990fd182a (diff)
downloadpfsense-packages-f01010badde23391094dc5583cea6a54bf4bbf89.tar.gz
pfsense-packages-f01010badde23391094dc5583cea6a54bf4bbf89.tar.bz2
pfsense-packages-f01010badde23391094dc5583cea6a54bf4bbf89.zip
bandwidthd - replace deprecated split with explode
The split function is deprecated in PHP 5.3. For this simple use, the explode function does the same thing. http://forum.pfsense.org/index.php/topic,55187.0.html
Diffstat (limited to 'config')
-rw-r--r--config/bandwidthd/bandwidthd.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/bandwidthd/bandwidthd.inc b/config/bandwidthd/bandwidthd.inc
index 69724a96..34532c18 100644
--- a/config/bandwidthd/bandwidthd.inc
+++ b/config/bandwidthd/bandwidthd.inc
@@ -97,7 +97,7 @@ function bandwidthd_install_config() {
log_error("You should specify an interface for bandwidthd to listen on. Exiting.");
}
- $subnets_custom = split(';',str_replace(' ','',$config['installedpackages']['bandwidthd']['config'][0]['subnets_custom']));
+ $subnets_custom = explode(';',str_replace(' ','',$config['installedpackages']['bandwidthd']['config'][0]['subnets_custom']));
/* initialize to "" */
$subnets = "";