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:
@@ -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!
|
||||
|
@@ -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!
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user