1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 14:58:01 +00:00

miner.php: ereg_replace is DEPRECATED so use preg_replace instead

This commit is contained in:
Kano 2012-03-13 23:36:02 +11:00
parent 702dd0f86f
commit 84aa0d693b

View File

@ -267,7 +267,7 @@ function details($cmd, $list)
if ($item == 'STATUS')
continue;
$sectionname = ereg_replace('[0-9]', '', $item);
$sectionname = preg_replace('/\d/', '', $item);
if ($sectionname != $section)
{