1
0
mirror of https://github.com/dg/dibi.git synced 2025-07-31 03:10:14 +02:00
This commit is contained in:
David Grudl
2017-07-24 14:46:58 +02:00
parent ba927b4782
commit 55523f4ed8
3 changed files with 5 additions and 4 deletions

View File

@@ -77,7 +77,7 @@ try {
'driver' => 'odbc',
'username' => 'root',
'password' => '***',
'dsn' => 'Driver={Microsoft Access Driver (*.mdb)};Dbq='.__DIR__.'/data/sample.mdb',
'dsn' => 'Driver={Microsoft Access Driver (*.mdb)};Dbq=' . __DIR__ . '/data/sample.mdb',
]);
echo 'OK';
} catch (Dibi\Exception $e) {

View File

@@ -41,6 +41,7 @@ function substFallBack($expr)
}
}
// define callback
dibi::getSubstitutes()->setCallback('substFallBack');