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

substitutes moved from DibiDriver to Dibi

changed "comments" behavior in DibiParser
This commit is contained in:
David Grudl
2006-09-23 06:34:44 +00:00
parent da70be27a8
commit da608c2db2
14 changed files with 113 additions and 201 deletions

View File

@@ -9,7 +9,7 @@ require_once '../dibi/dibi.php';
// mysql
dibi::connect(array(
'driver' => 'mysqli',
'driver' => 'mysql',
'host' => 'localhost',
'username' => 'root',
'password' => 'xxx', // change to real password!

View File

@@ -9,7 +9,7 @@ require_once '../dibi/dibi.php';
// mysql
dibi::connect(array(
'driver' => 'mysqli',
'driver' => 'mysql',
'host' => 'localhost',
'username' => 'root',
'password' => 'xxx', // change to real password!

View File

@@ -5,7 +5,7 @@ require_once '../dibi/dibi.php';
// connects to mysqli
dibi::connect(array(
'driver' => 'mysqli',
'driver' => 'mysql',
'host' => 'localhost',
'username' => 'root',
'password' => 'xxx', // change to real password!
@@ -14,7 +14,7 @@ dibi::connect(array(
// create new substitution :blog: ==> wp_items_
dibi::addSubst('blog', 'wp_items_');
dibi::addSubst('blog', 'wp_');
// generate and dump SQL