forked from leftypol/leftypol
Fix for instances with old GraphicsMagick or ImageMagick versions (no -auto-orient).
This commit is contained in:
parent
486eccba2e
commit
ac4306555b
5 changed files with 97 additions and 13 deletions
|
@ -69,7 +69,7 @@ function error($message, $priority = true, $debug_stuff = false) {
|
|||
// Running from CLI
|
||||
die('Error: ' . $message . "\n");
|
||||
}
|
||||
|
||||
|
||||
if ($config['debug'] && isset($db_error)) {
|
||||
$debug_stuff = array_combine(array('SQLSTATE', 'Error code', 'Error message'), $db_error);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue