mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #2813 from owncloud/improve-lib-check
added correct check for gd and check for php-intl
This commit is contained in:
commit
398fbb61f8
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue