Browse Source

fixes MySQL strict mode

tags/ConLite_2.1.0
Oldperl 10 months ago
parent
commit
14261dbd9c
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      conlib/local.php

+ 3
- 0
conlib/local.php View File

@@ -71,6 +71,9 @@ class DB_ConLite extends DB_Sql {
// HerrB: Checked and disabled. Kills umlauts, if tables are latin1_general.
// try to use the new connection and get the needed encryption
//$this->query("SET NAMES 'utf8'");
// modify mysql strict mode
$this->query('SET SESSION sql_mode = "NO_ENGINE_SUBSTITUTION"');
}

/**


Loading…
Cancel
Save