1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<?php /** * Application configuration shared by all applications and test types */ return [ 'components' => [ 'db' => [ 'dsn' => 'mysql:host=localhost;dbname=yii2_advanced_tests', ], 'mailer' => [ 'useFileTransport' => true, ], 'urlManager' => [ 'showScriptName' => true, ], ], ];