/
var
/
www
/
vhosts
/
nabawater
/
environments
/
dev
/
common
/
config
/
/var/www/vhosts/nabawater/environments/dev/common/config
mkdir
upload
Name
Size
Mode
Actions
main-local.php
784
0644
edit
dl
rm
params-local.php
18
0644
edit
dl
rm
test-local.php
318
0644
edit
dl
rm
Edit:
/var/www/vhosts/nabawater/environments/dev/common/config/test-local.php
(318B)
<?php return yii\helpers\ArrayHelper::merge( require __DIR__ . '/main.php', require __DIR__ . '/main-local.php', require __DIR__ . '/test.php', [ 'components' => [ 'db' => [ 'dsn' => 'mysql:host=localhost;dbname=yii2advanced_test', ] ], ] );
Save
cmd:
run