Merge pull request #316 from janxb/patch-1

added PHP GD module to required modules.
This commit is contained in:
Diego Najar 2016-07-30 21:10:50 +02:00 committed by GitHub
commit 3d5695f875
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)';