diff --git a/inc/admin.php b/inc/admin.php index 6daef1f..78ab1a2 100644 --- a/inc/admin.php +++ b/inc/admin.php @@ -212,7 +212,7 @@ if (isset($ui['log']) && ($ui['log'] === 'suspect' || $ui['log'] === 'retry' || if (isset($ui['cache']) && (int)$ui['cache'] === 1) { $success['filePath'] = pathForFile($ui['s'], $ui['hash']).'.png'; if (!file_exists($success['filePath'])) { - $success['filePath'] = 'data:image/png;base64,'.base64_encode(file_get_contents('bin/error.png')); + $success['base64'] = 'data:image/png;base64,'.base64_encode(file_get_contents('bin/error.png')); } } if (isset($ui['keep']) && (int)$ui['keep'] === 1) { @@ -225,7 +225,7 @@ if (isset($ui['log']) && ($ui['log'] === 'suspect' || $ui['log'] === 'retry' || if (!empty($logs)) { echo '