1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-03 20:57:36 +02:00

examples: dibi:: replaced with $dibi->

This commit is contained in:
David Grudl
2018-04-17 10:03:43 +02:00
parent cec699af0f
commit 4049ea4717
17 changed files with 76 additions and 76 deletions

View File

@@ -9,14 +9,14 @@ if (@!include __DIR__ . '/../vendor/autoload.php') {
}
dibi::connect([
$dibi = new Dibi\Connection([
'driver' => 'sqlite3',
'database' => 'data/sample.s3db',
]);
// retrieve database reflection
$database = dibi::getDatabaseInfo();
$database = $dibi->getDatabaseInfo();
echo "<h2>Database '{$database->getName()}'</h2>\n";
echo "<ul>\n";