mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-30 18:24:29 +01:00
Fixed a little exiftool bug
Conflicts: post.php
This commit is contained in:
parent
bf7304622a
commit
c2c7859a9e
2
post.php
2
post.php
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user