Wrong version for MySQL check
This commit is contained in:
parent
f0f50fae3c
commit
112235a8b8
@ -62,6 +62,6 @@ if ($error=='') echo('Lychee is ready. Lets rock!' . PHP_EOL . PHP_EOL); else ec
|
||||
if (ini_get('max_execution_time')<200&&ini_set('upload_max_filesize', '20M')!==true) echo('Warning: You may experience problems when uploading a large amount of photos. Take a look in the FAQ for details.' . PHP_EOL);
|
||||
|
||||
// Check mysql version
|
||||
if ($database->server_version<50800) 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);
|
||||
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);
|
||||
|
||||
?>
|
Loading…
Reference in New Issue
Block a user