mirror of
https://github.com/flarum/core.git
synced 2025-08-13 03:44:32 +02:00
Compare commits
1 Commits
dk/info-v2
...
sm/lower-r
Author | SHA1 | Date | |
---|---|---|---|
|
44f0773344 |
@@ -55,7 +55,7 @@ class ConnectToDatabase implements Step
|
||||
$version = $pdo->query('SELECT VERSION()')->fetchColumn();
|
||||
|
||||
if (Str::contains($version, 'MariaDB')) {
|
||||
if (version_compare($version, '10.10.0', '<')) {
|
||||
if (version_compare($version, '10.3.0', '<')) {
|
||||
throw new RangeException("MariaDB version ($version) too low. You need at least MariaDB 10.10");
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user