mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-22 23:05:18 -04:00
Added extra arg to gallery_graphics calls and updated users
This commit is contained in:
@@ -38,7 +38,7 @@ class Quick_Controller extends Controller {
|
||||
if ($degrees) {
|
||||
$tmpfile = tempnam(TMPPATH, "rotate") . "." .
|
||||
pathinfo($item->file_path(), PATHINFO_EXTENSION);
|
||||
gallery_graphics::rotate($item->file_path(), $tmpfile, array("degrees" => $degrees));
|
||||
gallery_graphics::rotate($item->file_path(), $tmpfile, array("degrees" => $degrees), $item);
|
||||
$item->set_data_file($tmpfile);
|
||||
$item->save();
|
||||
unlink($tmpfile);
|
||||
|
||||
Reference in New Issue
Block a user