prolab-api/common/config/main-local.php

27 lines
914 B
PHP
Raw Normal View History

2025-09-24 06:24:52 +00:00
<?php
return [
'components' => [
2025-10-03 11:00:05 +00:00
/* 'db' => [
2025-09-24 06:24:52 +00:00
'class' => 'yii\db\Connection',
2025-10-03 11:00:05 +00:00
'dsn' => 'sqlsrv:Server=192.168.0.101;Database=prolab_api',
'username' => 'sa',
'password' => '',
2025-09-24 06:24:52 +00:00
'charset' => 'utf8',
],*/
'db' => [
2025-10-03 11:00:05 +00:00
'class' => \yii\db\Connection::class,
'dsn' => 'sqlsrv:Server=159.65.139.235,1433;Database=prolab_api;Encrypt=Yes;TrustServerCertificate=Yes',
'username' => 'sa',
'password' => 'leoyd9UBON34',
2025-09-24 06:24:52 +00:00
],
'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,
],
],
2025-10-03 11:00:05 +00:00
];