1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-23 04:54:26 +00:00

Merge pull request #256 from kanoi/minerphp

miner.php split() flagged deprecated in PHP 5.3.0
This commit is contained in:
Con Kolivas 2012-07-07 01:10:55 -07:00
commit df8b7e1e58

View File

@ -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]))