-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
elFinder/php/elFinderVolumeDriver.class.php
Lines 870 to 882 in cb3203c
| if (($type === 'imagick' || $type === 'auto') && extension_loaded('imagick')) { | |
| $this->imgLib = 'imagick'; | |
| } else if (($type === 'gd' || $type === 'auto') && function_exists('gd_info')) { | |
| $this->imgLib = 'gd'; | |
| } else { | |
| $convertCache = 'imgLibConvert'; | |
| if (($convertCmd = $this->session->get($convertCache, false)) !== false) { | |
| $this->imgLib = $convertCmd; | |
| } else { | |
| $this->imgLib = ($this->procExec(ELFINDER_CONVERT_PATH . ' -version') === 0) ? 'convert' : ''; | |
| $this->session->set($convertCache, $this->imgLib); | |
| } | |
| } |
There's no way to skip this check, if you do not have imagick or gd loaded. Could there be another condition added? I guess I'm not the only one that do not have any images to deal with.