if ($error=='') echo('Everything is fine. Lychee should work without problems!' . PHP_EOL . PHP_EOL); else echo $error;
// Check php.ini Settings
if (ini_get('max_execution_time')<200&&ini_set('upload_max_filesize','20M')!==true)echo('Warning:Youmayexperienceproblemswhenuploadingalargeamountofphotos.TakealookintheFAQfordetails.'.PHP_EOL);
if (ini_get('max_execution_time')<200&&ini_set('upload_max_filesize','20M')===false)echo('Warning:Youmayexperienceproblemswhenuploadingalargeamountofphotos.TakealookintheFAQfordetails.'.PHP_EOL);
// Check mysql version
if ($database->server_version<50500)echo('Warning:LycheeusestheGBKcharsettoavoidsqlinjectionsonyourMySQLversion.PleaseupdatetoMySQL5.5orhighertoenableUTF-8support.'.PHP_EOL);