[FIX] Config option detection

This commit is contained in:
Sebastian Grewe 2014-01-10 15:51:36 +01:00
parent 07b90dbc58
commit c29bda4e5d

View File

@ -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);
} }
?> ?>