mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
Add Gmagick / Imagick as recommended
This commit is contained in:
@@ -45,6 +45,8 @@ class setup
|
||||
, "zlib"
|
||||
, "intl"
|
||||
, "twig"
|
||||
, "gmagick"
|
||||
, "imagick"
|
||||
);
|
||||
protected static $PHP_CONF = array(
|
||||
'output_buffering' => '4096' //INI_ALL
|
||||
@@ -561,7 +563,7 @@ class setup
|
||||
if (extension_loaded($ext) !== true)
|
||||
{
|
||||
$blocker = true;
|
||||
if("twig" === $ext)
|
||||
if(in_array($ext, array('twig', 'gmagick', 'imagick')))
|
||||
{
|
||||
$blocker = false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user