Fix for instances with old GraphicsMagick or ImageMagick versions (no -auto-orient).

This commit is contained in:
Michael Foster
2013-08-03 22:14:25 -04:00
parent 486eccba2e
commit ac4306555b
5 changed files with 97 additions and 13 deletions

View File

@@ -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);
}