Merge pull request #2813 from owncloud/improve-lib-check

added correct check for gd and check for php-intl
This commit is contained in:
Bart Visscher 2013-05-07 06:12:40 -07:00
commit 398fbb61f8

View file

@ -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;