���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/rickpfrv/sngda.to/includes/Database/Profiler.php
���ѧ٧ѧ�
<?php /** * Custom profiler for YOURLS * * Based on \Aura\Sql\Profiler\Profiler to tweak function finish() * * @since 1.7.10 */ namespace YOURLS\Database; class Profiler extends \Aura\Sql\Profiler\Profiler { /** * * Finishes and logs a profile entry. * * We're just overriding the original class finish() to * - not throw an exception and collect a backtrace that will remain unused * - not flatten the array of 'values' into a string * * @param string $statement The statement being profiled, if any. * @param array $values The values bound to the statement, if any. * @return void */ public function finish($statement = null, array $values = []) { if (! $this->active) { return; } $this->context['duration'] = microtime(true) - $this->context['start']; $this->context['statement'] = $statement; $this->context['values'] = (array)$values; $this->logger->log($this->logLevel, $this->logFormat, $this->context); $this->context = []; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0.1 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�