@ -99,6 +99,10 @@ if (empty(ini_get('allow_url_fopen'))) echo('Warning: You may experience problem
// Check mysql version
// Check mysql version
if ($database->server_version<50500)echo('Warning:LycheeusestheGBKcharsettoavoidsqlinjectionsonyourMySQLversion.PleaseupdatetoMySQL5.5orhighertoenableUTF-8support.'.PHP_EOL);
if ($database->server_version<50500)echo('Warning:LycheeusestheGBKcharsettoavoidsqlinjectionsonyourMySQLversion.PleaseupdatetoMySQL5.5orhighertoenableUTF-8support.'.PHP_EOL);
// Check imagick
if (!extension_loaded('imagick')) echo('Warning: Pictures that are rotated lose their metadata! Please install Imagick to avoid that.' . PHP_EOL);
else if (!$settings['imagick']) echo('Warning: Pictures that are rotated lose their metadata! Please enable Imagick in settings to avoid that.' . PHP_EOL);
// Output
// Output
if ($error==='') echo('No critical problems found. Lychee should work without problems!' . PHP_EOL);
if ($error==='') echo('No critical problems found. Lychee should work without problems!' . PHP_EOL);