mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
fix[installer]: database version check was hard fence. should be soft fence
This commit is contained in:
@@ -1557,7 +1557,7 @@ if (!file_exists('.lock')) {
|
||||
} else {
|
||||
db_connection_results.addClass('alert-warning');
|
||||
$('#db_connection_test_button').html(originalButtonText).prop('disabled', false);
|
||||
db_connection_results.html("<?= __('Connection was successful but your database seems too old for Wavelog. You can try to continue but you could run into issues.'); ?> <i class=\"fas fa-circle-exclamation\"></i> " + "</br></br><?= sprintf(__("The min. version for MySQL is %s, for MariaDB it's %s."), '<b>' . $mysql_version . '</b>', '<b>' . $mariadb_version . '</b>'); ?>");
|
||||
db_connection_results.html("<?= __("Connection was successful but your database seems too old for Wavelog. You can try to continue but you could run into issues."); ?> <i class=\"fas fa-circle-exclamation\"></i> " + "</br></br><?= sprintf(__("The min. version for MySQL is %s, for MariaDB it's %s."), '<b>' . $mysql_version . '</b>', '<b>' . $mariadb_version . '</b>'); ?>");
|
||||
}
|
||||
resolve(true);
|
||||
}
|
||||
@@ -1857,7 +1857,7 @@ if (!file_exists('.lock')) {
|
||||
|
||||
if ((checklistPrechecks.hasClass('fa-check-circle') || checklistPrechecks.hasClass('fa-exclamation-triangle')) &&
|
||||
checklistConfiguration.hasClass('fa-check-circle') &&
|
||||
checklistDatabase.hasClass('fa-check-circle') &&
|
||||
(checklistDatabase.hasClass('fa-check-circle') || checklistDatabase.hasClass('fa-exclamation-triangle')) &&
|
||||
(checklistFirstUser.hasClass('fa-check-circle') || checklistFirstUser.hasClass('fa-exclamation-triangle'))) {
|
||||
install_possible = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user