Skip to content
This repository has been archived by the owner on Apr 3, 2018. It is now read-only.

Commit

Permalink
Applying fix suggested by 'takumi-shamballah'. Fixes fatal error when…
Browse files Browse the repository at this point in the history
… imagick isn't in use. Closes #46.
  • Loading branch information
mariuswilms committed Dec 20, 2010
1 parent 4444583 commit b8c575a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/core.php
Expand Up @@ -214,7 +214,7 @@
Media_Info::config(array(
// 'audio' => array('NewWave'),
// 'document' => array('Imagick'),
'image' => array('ImageBasic', 'Imagick'),
'image' => $hasImagick ? array('ImageBasic', 'Imagick') : array('ImageBasic'),
// 'video' => array()
));

Expand Down

0 comments on commit b8c575a

Please sign in to comment.