Merge pull request #316 from janxb/patch-1
added PHP GD module to required modules.
This commit is contained in:
commit
3d5695f875
10
install.php
10
install.php
|
@ -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)';
|
||||||
|
|
Loading…
Reference in New Issue