hp return [ 'language'=>'th_TH', // เปิดใช้งานภาษาไทย 'components' => [ 'db' => [ 'class' => 'yii\db\Connection', 'dsn' => 'mysql:host=localhost;dbname=b_2b1_advanced', //'username' => 'bancha', //'password' => 'bancha431097789#@boy0819106002', 'charset' => 'utf8', ], // 'db_cat' => [ // 'class' => 'yii\db\Connection', // 'dsn' => 'mysql:host=localhost;dbname=b_2b1_advanced', // 'username' => 'bancha', // //'password' => 'bancha431097789', // 'charset' => 'utf8', // ], 'mailer' => [ 'class' => 'yii\swiftmailer\Mailer', 'viewPath' => '@common/mail', // send all mails to a file by default. You have to set // 'useFileTransport' to false and configure a transport // for the mailer to send real emails. 'useFileTransport' => true, ], ], ];
Warning: Invalid argument supplied for foreach() in /var/www/html/2b1/vendor/yiisoft/yii2/helpers/BaseArrayHelper.php on line 121
เข้าสู่ระบบ