それはconfig.inc.phpをファイルに定義されますDBタイプとしてmysqliの使用
$dbconfig['db_type'] = 'mysqli';
私はあなたのvtigerを使用してライブラリファイルに次の行を定義することにより、SQLモードのランタイムを設定することをお勧め
DB接続用
\vtiger\libraries\adodb\drivers\adodb-mysqli.inc.php
if ($ok) {
if ($argDatabasename) return $this->SelectDB($argDatabasename);
return true;
} else {
if ($this->debug)
ADOConnection::outp("Could't connect : " . $this->ErrorMsg());
$this->_connectionID = null;
return false;
}
に
ラインにラインコードに
if ($ok) {
mysqli_query($this->_connectionID, "SET SESSION sql_mode = 'TRADITIONAL'");
if ($argDatabasename) return $this->SelectDB($argDatabasename);
return true;
} else {
if ($this->debug)
ADOConnection::outp("Could't connect : " . $this->ErrorMsg());
$this->_connectionID = null;
return false;
}
はこれがあなた
ホープ最新のコードをなし126
前のコードを追加していません