mirror of
https://github.com/slawkens/myaac.git
synced 2026-04-25 11:53:31 +02:00
feat: debugbar backtrace (#360)
* feat: debugbar backtrace * chore(copilot): cleanup stmt reference Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * fix: ignoring debug namespace --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user