| Current Path : /hdd/hdd11/www/codedit/config/ |
| Current File : /hdd/hdd11/www/codedit/config/db.php |
<?php
return [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=codedit',
'username' => 'codedit',
'password' => 'C0d3d1t_',
'charset' => 'utf8',
'tablePrefix' => 'codedit_',
'on afterOpen' => function($event) {
$event->sender->createCommand('SET NAMES UTF8')->execute();
}
];