Skip to content

Commit e720aad

Browse files
committed
Updated sample code.
1 parent e8e6f48 commit e720aad

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ use Casbin\Enforcer;
3636
use CasbinAdapter\DBAL\Adapter as DatabaseAdapter;
3737

3838
$config = [
39-
'driver' => 'mysql', // ibm_db2, pdo_sqlsrv, pdo_mysql, pdo_pgsql, pdo_sqlite
39+
// Either 'driver' with one of the following values:
40+
// pdo_mysql,pdo_sqlite,pdo_pgsql,pdo_oci (unstable),pdo_sqlsrv,pdo_sqlsrv,
41+
// mysqli,sqlanywhere,sqlsrv,ibm_db2 (unstable),drizzle_pdo_mysql
42+
'driver' => 'pdo_mysql',
4043
'host' => '127.0.0.1',
4144
'dbname' => 'test',
4245
'user' => 'root',

0 commit comments

Comments
 (0)