Merge branch 'develop' into blacktek-toml

This commit is contained in:
slawkens
2026-04-24 21:49:24 +02:00
3 changed files with 80 additions and 2 deletions

View File

@@ -372,8 +372,8 @@ class POT
global $debugBar;
if (isset($debugBar)) {
$this->db = new DebugBar\DataCollector\PDO\TraceablePDO(new OTS_DB_MySQL($params));
$debugBar->addCollector(new DebugBar\DataCollector\PDO\PDOCollector($this->db));
$this->db = new \MyAAC\Debug\TraceablePDOWithBacktrace(new OTS_DB_MySQL($params));
$debugBar->addCollector(new \MyAAC\Debug\PDOCollectorWithBacktrace($this->db));
}
else {
$this->db = new OTS_DB_MySQL($params);