Changeset 12493 for trunk/admin


Ignore:
Timestamp:
10/19/11 15:05:26 (8 years ago)
Author:
patdenice
Message:

bug:2479
External ImageMagick library is not properly detected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/image.class.php

    r11964 r12493  
    272272      return false; 
    273273    } 
    274     @exec($conf['ext_imagick_dir'].'convert -version', $returnarray, $returnvalue); 
    275     if (!$returnvalue and !empty($returnarray[0]) and preg_match('/ImageMagick/i', $returnarray[0])) 
     274    @exec($conf['ext_imagick_dir'].'convert -version', $returnarray); 
     275    if (is_array($returnarray) and !empty($returnarray[0]) and preg_match('/ImageMagick/i', $returnarray[0])) 
    276276    { 
    277277      return true; 
Note: See TracChangeset for help on using the changeset viewer.