1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-27 17:00:52 +01:00

Fixed a little exiftool bug

Conflicts:
	post.php
This commit is contained in:
Jano Slota 2014-05-10 01:31:16 +02:00 committed by czaks
parent bf7304622a
commit c2c7859a9e

View File

@ -641,7 +641,7 @@ if (isset($_POST['delete'])) {
if (!$config['redraw_image'] && $config['use_exiftool']) { if (!$config['redraw_image'] && $config['use_exiftool']) {
if($error = shell_exec_error('exiftool -overwrite_original -ignoreMinorErrors -q -q -all= ' . if($error = shell_exec_error('exiftool -overwrite_original -ignoreMinorErrors -q -q -all= ' .
escapeshellarg($upload))) escapeshellarg($upload)))
error('Could not strip EXIF metadata!', null, $error); error(_('Could not strip EXIF metadata!'), null, $error);
} else { } else {
$image->to($post['file']); $image->to($post['file']);
$dont_copy_file = true; $dont_copy_file = true;