Commit df8b7e1e58696cd14678bf942caa43792d4035a9

Con Kolivas 2012-07-07T01:10:55

Merge pull request #256 from kanoi/minerphp 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]))