|
@@ -89,6 +89,12 @@ if (!ini_get('allow_url_fopen')) echo('Warning: You may experience problems with
|
|
|
|
|
|
if ($database->server_version<50500) echo('Warning: Lychee uses the GBK charset to avoid sql injections on your MySQL version. Please update to MySQL 5.5 or higher to enable UTF-8 support.' . PHP_EOL);
|
|
|
|
|
|
+
|
|
|
+$gdVersion = gd_info();
|
|
|
+if (!$gdVersion['JPEG Support']) $error .= ('Error: PHP gd extension without jpeg support' . PHP_EOL);
|
|
|
+if (!$gdVersion['PNG Support']) $error .= ('Error: PHP gd extension without png support' . PHP_EOL);
|
|
|
+if (!$gdVersion['GIF Read Support'] || !$gdVersion['GIF Create Support']) $error .= ('Error: PHP gd extension without full gif support' . PHP_EOL);
|
|
|
+
|
|
|
|
|
|
if ($error==='') echo('No critical problems found. Lychee should work without problems!' . PHP_EOL);
|
|
|
else echo $error;
|
|
@@ -108,9 +114,6 @@ else $imagick = '-';
|
|
|
if (!isset($imagickVersion, $imagickVersion['versionNumber'])||$imagickVersion==='') $imagickVersion = '-';
|
|
|
else $imagickVersion = $imagickVersion['versionNumber'];
|
|
|
|
|
|
-
|
|
|
-$gdVersion = gd_info();
|
|
|
-
|
|
|
|
|
|
echo('Lychee Version: ' . $json['version'] . PHP_EOL);
|
|
|
echo('DB Version: ' . $settings['version'] . PHP_EOL);
|