mirror of
https://github.com/nextcloud/server.git
synced 2024-07-25 13:54:59 +02:00
check if PHP mod GD is installed
This commit is contained in:
parent
d24abc3b9d
commit
57b8ff890c
@ -240,6 +240,9 @@ class OC_Util {
|
||||
if(!function_exists('json_encode')){
|
||||
$errors[]=array('error'=>'PHP module JSON is not installed.<br/>','hint'=>'Please ask your server administrator to install the module.');
|
||||
}
|
||||
if(!function_exists('imagepng')){
|
||||
$errors[]=array('error'=>'PHP module GD is not installed.<br/>','hint'=>'Please ask your server administrator to install the module.');
|
||||
}
|
||||
|
||||
return $errors;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user