1
0
mirror of https://github.com/dg/dibi.git synced 2025-07-31 19:30:30 +02:00

removed support for FirePHP

This commit is contained in:
David Grudl
2018-04-17 14:36:27 +02:00
parent 30dec49a9d
commit 0129d340d3
6 changed files with 7 additions and 164 deletions

View File

@@ -19,8 +19,7 @@ $dibi = new Dibi\Connection([
'database' => 'data/sample.s3db',
// enable query logging to this file
'profiler' => [
'run' => true,
'file' => 'data/log.sql',
'file' => 'log/log.sql',
],
]);
@@ -37,6 +36,6 @@ try {
// outputs a log file
echo '<h2>File data/log.sql:</h2>';
echo '<h2>File log/log.sql:</h2>';
echo '<pre>', file_get_contents('data/log.sql'), '</pre>';
echo '<pre>', file_get_contents('log/log.sql'), '</pre>';