[FIX] Config option detection
This commit is contained in:
parent
07b90dbc58
commit
c29bda4e5d
@ -7,7 +7,7 @@ chdir(dirname(__FILE__));
|
|||||||
require_once('shared.inc.php');
|
require_once('shared.inc.php');
|
||||||
|
|
||||||
// Simple configuration check
|
// Simple configuration check
|
||||||
if (unset($config['coldwallet'])) {
|
if (!is_array($config['coldwallet'])) {
|
||||||
$log->logFatal('Missing config option: coldwallet');
|
$log->logFatal('Missing config option: coldwallet');
|
||||||
$monitoring->endCronjob($cron_name, 'E0075', 1, true);
|
$monitoring->endCronjob($cron_name, 'E0075', 1, true);
|
||||||
}
|
}
|
||||||
@ -66,4 +66,3 @@ if($send > $dThreshold) {
|
|||||||
$log->logDebug('Final sending amount not exceeding threshold: ' . $send);
|
$log->logDebug('Final sending amount not exceeding threshold: ' . $send);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user