$duration = round($duration, 3);
$backtrace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
-<<<<<<< HEAD
@file_put_contents(
$this->config->get('system', 'db_log'),
DateTimeFormat::utcNow() . "\t" . $duration . "\t" .
substr($this->replaceParameters($sql, $args), 0, 4000) . "\n",
FILE_APPEND
);
-=======
- @file_put_contents($this->configCache->get('system', 'db_log'), DateTimeFormat::utcNow() . "\t" . $duration . "\t" .
- basename($backtrace[1]['file']) . "\t" .
- $backtrace[1]['line'] . "\t" . $backtrace[2]['function'] . "\t" .
- substr($this->replaceParameters($sql, $args), 0, 4000) . "\n", FILE_APPEND);
->>>>>>> 82391ca61 (Changes:)
}
}
return $retval;