Out with split(), in with explode()

This commit is contained in:
Tony Landis
2009-03-27 23:20:19 -06:00
parent ff9e25abcf
commit 87a8e0f92d
101 changed files with 639 additions and 639 deletions

View File

@@ -1764,7 +1764,7 @@ class voip
} else if ($r['type'] == 'regular' || $r['type'] == 'default') {
#echo "src=".$rs1->fields['src']."\n";
#echo "dst=".$rs1->fields['dst']."\n";
$pats = split(";", $r['pattern']);
$pats = explode(";", $r['pattern']);
$search = $rs1->fields['dst'];
foreach ($pats as $pattern) {
#echo "Matching against: $pattern\n";