1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-29 08:49:50 +02:00

- improved examples

This commit is contained in:
David Grudl
2008-10-28 02:06:55 +00:00
parent ab892255d3
commit 7a6cdc8afa
14 changed files with 105 additions and 45 deletions

View File

@@ -1,11 +1,20 @@
<h1>Nette::Debug && dibi example</h1>
<h1>Nette::Debug & dibi example</h1>
<p>Dibi can display and log exceptions via Nette::Debug. You first need to install Nette Framework. You can download it from here:</p>
<ul>
<li>Nette Framework: http://nettephp.com
</ul>
<?php
require_once 'Nette/Debug.php';
require_once '../dibi/dibi.php';
// enable Nette::Debug
Debug::enable();
Debug::enableProfiler();
dibi::connect(array(