This commit is contained in:
Arionum
2018-01-09 11:07:50 +02:00
parent b0682f9e84
commit bfd3751a90
3 changed files with 4 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ function _log($data){
$date=date("[Y-m-d H:s:]");
$trace=debug_backtrace();
$location=$trace[1]['class'].'->'.$trace[1]['function'].'()';
//echo "$date [$location] $data\n";
if(php_sapi_name() === 'cli') "$date [$location] $data\n";
}
function pem2hex ($data) {
@@ -209,4 +209,4 @@ function coin2hex($data){
$bin= base58_decode($data);
return bin2hex($bin);
}
?>
?>