diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-06-22 17:53:54 -0700 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-06-22 17:53:54 -0700 |
commit | 18a5b95a332abb8e819ffbed3901437d6722c6ed (patch) | |
tree | 0f296bfc7dc184f58cec2aef9e29f365aee11e21 | |
parent | b8cb76c48b9b119ce4c7ae237cea14aac36099bc (diff) | |
download | brdo-18a5b95a332abb8e819ffbed3901437d6722c6ed.tar.gz brdo-18a5b95a332abb8e819ffbed3901437d6722c6ed.tar.bz2 |
Issue #758628 follow-up by jbrown, mgifford, nowarninglabel: Make GD library hook_requirements() desaturation and rotate errors into warnings..
-rw-r--r-- | modules/color/color.install | 2 | ||||
-rw-r--r-- | modules/image/image.install | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/color/color.install b/modules/color/color.install index b0eb95ef6..2a6b9cdd1 100644 --- a/modules/color/color.install +++ b/modules/color/color.install @@ -24,7 +24,7 @@ function color_requirements($phase) { $requirements['color_gd']['severity'] = REQUIREMENT_OK; } else { - $requirements['color_gd']['severity'] = REQUIREMENT_ERROR; + $requirements['color_gd']['severity'] = REQUIREMENT_WARNING; $requirements['color_gd']['description'] = t('The GD library for PHP is enabled, but was compiled without PNG support. Check the <a href="@url">PHP image documentation</a> for information on how to correct this.', array('@url' => 'http://www.php.net/manual/ref.image.php')); } } diff --git a/modules/image/image.install b/modules/image/image.install index fbd20de50..5f096cc2f 100644 --- a/modules/image/image.install +++ b/modules/image/image.install @@ -264,7 +264,7 @@ function image_requirements($phase) { $requirements['image_gd']['severity'] = REQUIREMENT_OK; } else { - $requirements['image_gd']['severity'] = REQUIREMENT_ERROR; + $requirements['image_gd']['severity'] = REQUIREMENT_WARNING; $requirements['image_gd']['description'] = t('The GD Library for PHP is enabled, but was compiled without support for functions used by the rotate and desaturate effects. It was probably compiled using the official GD libraries from http://www.libgd.org instead of the GD library bundled with PHP. You should recompile PHP --with-gd using the bundled GD library. See <a href="http://www.php.net/manual/book.image.php">the PHP manual</a>.'); } } |