Skip to content
This repository
Browse code

FIX: include ImagickBackend only when Imagick installed

  • Loading branch information...
commit af2ac1d8c5fe9e8c4e6936664dd886f893ed7bc9 1 parent bde6344
Will Rossiter authored November 11, 2012

Showing 1 changed file with 12 additions and 0 deletions. Show diff stats Hide diff stats

  1. 12  filesystem/ImagickBackend.php
12  filesystem/ImagickBackend.php
... ...
@@ -1,5 +1,16 @@
1 1
 <?php
  2
+
  3
+/**
  4
+ * @package framework
  5
+ * @subpackage filesystem
  6
+ */
  7
+
  8
+if(class_exists('Imagick')) {
2 9
 class ImagickBackend extends Imagick implements Image_Backend {
  10
+	
  11
+	/**
  12
+	 * @var int
  13
+	 */
3 14
 	protected static $default_quality = 75;
4 15
 	
5 16
 	/**
@@ -264,3 +275,4 @@ public function croppedResize($width, $height) {
264 275
 		return $new;
265 276
 	}
266 277
 }
  278
+}

0 notes on commit af2ac1d

Please sign in to comment.
Something went wrong with that request. Please try again.