[fix] no image after manual gen

This commit is contained in:
Knah Tsaeb 2015-07-10 10:23:53 +02:00
parent 72059fd95e
commit 47df04fbfc

View file

@ -88,6 +88,7 @@ function manualGen($hash, $log) {
if ((int)$result[0] === 1) {
$res['success'] = 1;
$res['filePath'] = pathForFile($line[4], $hash).'.png';
$res['base64'] = 'data:image/png;base64,'.base64_encode(file_get_contents($res['filePath']));
return $res;
}
}