Commit bd501bf02f12322e6a48933d6433aeb1b21b3738

Kano 2012-07-07T13:52:11

miner.php split() flagged deprecated in PHP 5.3.0

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/miner.php b/miner.php
index b9caa36..424108b 100644
--- a/miner.php
+++ b/miner.php
@@ -166,7 +166,7 @@ function getcss($cssname, $dom = false)
  $css = '';
  foreach ($colourtable as $cssdata => $value)
  {
-	$cssobj = split(' ', $cssdata, 2);
+	$cssobj = explode(' ', $cssdata, 2);
 	if ($cssobj[0] == $cssname)
 	{
 		if (isset($colouroverride[$cssdata]))