|
@@ -76,7 +76,8 @@ if (isset($config) && $config != '') {
|
|
|
|
|
|
if (count($output) > 0 || $return_var != 0) {
|
|
|
echo "ERROR: Config validation failed\r\n";
|
|
|
- $logger->emerg("Failed to verify config $config for $sn ({$_SERVER['REMOTE_ADDR']})");
|
|
|
+ $out_str = implode("\n", $output);
|
|
|
+ $logger->emerg("Failed to verify config $config for $sn ({$_SERVER['REMOTE_ADDR']}) '$out_str' ($return_var)");
|
|
|
call_hook('VERIFY:FAIL', array('config', $_SERVER['REMOTE_ADDR'], $config, $sn, $md5, $image));
|
|
|
$good_config = false;
|
|
|
} else {
|