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

examples: tracy is loaded before output [Closes #248]

This commit is contained in:
David Grudl
2017-02-19 22:43:22 +01:00
parent d39603e23d
commit 6194152e67
5 changed files with 34 additions and 26 deletions

View File

@@ -1,7 +1,3 @@
<!DOCTYPE html><link rel="stylesheet" href="data/style.css">
<h1>Using Extension Methods | dibi</h1>
<?php
if (@!include __DIR__ . '/../vendor/autoload.php') {
@@ -10,6 +6,12 @@ if (@!include __DIR__ . '/../vendor/autoload.php') {
Tracy\Debugger::enable();
?>
<!DOCTYPE html><link rel="stylesheet" href="data/style.css">
<h1>Using Extension Methods | dibi</h1>
<?php
dibi::connect([
'driver' => 'sqlite3',