mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
Merge pull request #29095 from nextcloud/backport/29075/stable20
This commit is contained in:
commit
72bd10fab7
1 changed files with 1 additions and 1 deletions
|
|
@ -621,7 +621,7 @@ class OC_Image implements \OCP\IImage {
|
|||
default:
|
||||
|
||||
// this is mostly file created from encrypted file
|
||||
$this->resource = imagecreatefromstring(\OC\Files\Filesystem::file_get_contents(\OC\Files\Filesystem::getLocalPath($imagePath)));
|
||||
$this->resource = imagecreatefromstring(file_get_contents($imagePath));
|
||||
$iType = IMAGETYPE_PNG;
|
||||
$this->logger->debug('OC_Image->loadFromFile, Default', ['app' => 'core']);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue