mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
4ad249f918
This reverts commit 8765d5650a.
9 lines
206 B
PHP
9 lines
206 B
PHP
<?php
|
|
|
|
use Utopia\Image\Image;
|
|
use Utopia\System\System;
|
|
|
|
if (\class_exists('Imagick')) {
|
|
Image::setResourceLimit('memory', intval(System::getEnv('_APP_IMAGES_RESOURCE_LIMIT_MEMORY', 1024*1024*64)));
|
|
}
|