mirror of
https://github.com/dg/dibi.git
synced 2025-08-29 08:49:50 +02:00
- improved examples
This commit is contained in:
@@ -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(
|
||||
|
Reference in New Issue
Block a user