mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
added check for the gd-extension and the existens of the function 'imagecreatefromjpeg', which is only availible if the gd-extension is compiled with jpeg support.
This commit is contained in:
parent
db96ba1252
commit
1facb0b7b0
@ -50,4 +50,14 @@ $setup_info['addressbook']['depends'][] = array(
|
||||
'versions' => Array('1.2','1.3','1.4')
|
||||
);
|
||||
|
||||
// installation checks for addresbook
|
||||
$setup_info['projectmanager']['check_install'] = array(
|
||||
'gd' => array(
|
||||
'func' => 'extension_check',
|
||||
),
|
||||
'imagecreatefromjpeg' => array(
|
||||
'func' => 'func_exist',
|
||||
'warning' => "The imagecreatefromjpeg function is supplied by the gd extension (complied with jpeg support!). It's needed to upload photos for contacts.",
|
||||
),
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user