Browse Source

Merge pull request #256 from kanoi/minerphp

miner.php split() flagged deprecated in PHP 5.3.0
nfactor-troky
Con Kolivas 13 years ago
parent
commit
df8b7e1e58
  1. 2
      miner.php

2
miner.php

@ -166,7 +166,7 @@ function getcss($cssname, $dom = false)
$css = ''; $css = '';
foreach ($colourtable as $cssdata => $value) foreach ($colourtable as $cssdata => $value)
{ {
$cssobj = split(' ', $cssdata, 2); $cssobj = explode(' ', $cssdata, 2);
if ($cssobj[0] == $cssname) if ($cssobj[0] == $cssname)
{ {
if (isset($colouroverride[$cssdata])) if (isset($colouroverride[$cssdata]))

Loading…
Cancel
Save