We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84006c5 commit 1d5cbdbCopy full SHA for 1d5cbdb
install/lib/installer_base.lib.php
@@ -227,7 +227,7 @@ public function configure_database() {
227
//* check sql-mode
228
$check_sql_mode = $this->db->queryOneRecord("SELECT @@sql_mode");
229
230
- if ($check_sql_mode['@@sql_mode'] != '' && $check_sql_mode['@@sql_mode'] != 'NO_ENGINE_SUBSTITUTION') {
+ if(!strpos($check_sql_mode['@@sql_mode'],'NO_ENGINE_SUBSTITUTION')) {
231
echo "Wrong SQL-mode. You should use NO_ENGINE_SUBSTITUTION. Add\n\n";
232
echo " sql-mode=\"NO_ENGINE_SUBSTITUTION\"\n\n";
233
echo"to the mysqld-section in your mysql-config and restart mysqld afterwards\n";
0 commit comments