Changeset 12494
- Timestamp:
- Oct 19, 2011, 3:07:17 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.3/admin/include/image.class.php
r11964 r12494 272 272 return false; 273 273 } 274 @exec($conf['ext_imagick_dir'].'convert -version', $returnarray , $returnvalue);275 if ( !$returnvalueand !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])) 276 276 { 277 277 return true;
Note: See TracChangeset
for help on using the changeset viewer.