diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-05-07 06:12:40 -0700 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-05-07 06:12:40 -0700 |
commit | 398fbb61f8d4f579da3891c4516d5fb71759246a (patch) | |
tree | e1cdd6e701c02e9282cb2f4b24c24131066e2505 | |
parent | deb0885e46e3dab774ca42dd8e95cd979bf5f30a (diff) | |
parent | 2b9da8a6c9314d2279725c345f6e25a70fb9a30d (diff) | |
download | nextcloud-server-398fbb61f8d4f579da3891c4516d5fb71759246a.tar.gz nextcloud-server-398fbb61f8d4f579da3891c4516d5fb71759246a.zip |
Merge pull request #2813 from owncloud/improve-lib-check
added correct check for gd and check for php-intl
-rwxr-xr-x | lib/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php index 382c2efce75..79509b1c3b2 100755 --- a/lib/util.php +++ b/lib/util.php @@ -248,7 +248,7 @@ class OC_Util { 'hint'=>'Please ask your server administrator to install the module.'); $web_server_restart=true; } - if(!function_exists('imagepng')) { + if(!extension_loaded('gd') || !function_exists('gd_info')) { $errors[]=array('error'=>'PHP module GD is not installed.', 'hint'=>'Please ask your server administrator to install the module.'); $web_server_restart=true; |