.
This commit is contained in:
3
util.php
3
util.php
@@ -209,7 +209,7 @@ function base58btc_encode(string $bin): string {
|
||||
}
|
||||
|
||||
function logger(LogType $section, mixed $arg): void {
|
||||
if (LOGGING_ENABLED) {
|
||||
if (!LOGGING_ENABLED) return;
|
||||
$success = false;
|
||||
$logfile = ROOT.'/log/';
|
||||
|
||||
@@ -232,7 +232,6 @@ function logger(LogType $section, mixed $arg): void {
|
||||
|
||||
if ($success) file_put_contents($logfile, $arg."\n", FILE_APPEND);
|
||||
}
|
||||
}
|
||||
|
||||
function to_money($amount, $lang) {
|
||||
$amount = floatval($amount);
|
||||
|
||||
Reference in New Issue
Block a user