BiFace_Server_Lite/config/db.php
2020-03-27 10:13:51 +07:00

15 lines
398 B
PHP

<?php
return [
'class' => 'yii\db\Connection',
// 'dsn' => 'mysql:host=localhost;dbname=khuvuichoi',
'dsn' => 'sqlite:@app/db/app.db',
'username' => 'root',
'password' => '',
'charset' => 'utf8',
// Schema cache options (for production environment)
//'enableSchemaCache' => true,
//'schemaCacheDuration' => 60,
//'schemaCache' => 'cache',
];