if (hasPermissions(LYCHEE_UPLOADS)===false) $error .= ('Error 503: Wrong permissions for \'uploads/\' (777 required)' . PHP_EOL);
if (hasPermissions(LYCHEE_DATA)===false) $error .= ('Error 504: Wrong permissions for \'data/\' (777 required)' . PHP_EOL);
# Output
if ($error=='') echo('Everything is fine. Lychee should work without problems!' . PHP_EOL . PHP_EOL);
else echo $error;
# Check dropboxKey
if (!$settings['dropboxKey']) echo('Warning: Dropbox import not working. No property for dropboxKey.' . PHP_EOL);
@ -78,4 +78,26 @@ if (ini_get('max_execution_time')<200&&ini_set('upload_max_filesize', '20M')===f
# Check mysql version
if ($database->server_version<50500)echo('Warning:LycheeusestheGBKcharsettoavoidsqlinjectionsonyourMySQLversion.PleaseupdatetoMySQL5.5orhighertoenableUTF-8support.'.PHP_EOL);
# Output
if ($error=='') echo('No critical problems found. Lychee should work without problems!' . PHP_EOL);