Upgrade to 3.1.0

This commit is contained in:
Bastian Allgeier
2019-03-19 11:07:14 +01:00
parent 418db4b09b
commit 6e074142f1
98 changed files with 1266 additions and 299 deletions

View File

@@ -75,7 +75,13 @@ class ImageMagick extends Darkroom
// remove all null values and join the parts
$command = implode(' ', array_filter($command));
exec($command);
// try to execute the command
exec($command, $output, $return);
// log broken commands
if ($return !== 0) {
error_log('The imagemagick convert command could not be executed: ' . $command);
}
return $options;
}