added php GD module to required modules.

Fixes issue #300
This commit is contained in:
janxb 2016-07-29 10:28:19 +02:00
parent a5af1ec827
commit dabcaa6a33
1 changed files with 10 additions and 0 deletions

View File

@ -200,6 +200,16 @@ function checkSystem()
array_push($stdOut, $tmp); array_push($stdOut, $tmp);
} }
if(!in_array('gd', $phpModules))
{
$errorText = 'PHP module GD is not installed.';
error_log($errorText, 0);
$tmp['title'] = 'PHP module';
$tmp['errorText'] = $errorText;
array_push($stdOut, $tmp);
}
if(!in_array('dom', $phpModules)) if(!in_array('dom', $phpModules))
{ {
$errorText = 'PHP module DOM is not installed. (ERR_203)'; $errorText = 'PHP module DOM is not installed. (ERR_203)';