surat/common/config/main-local.php

34 lines
1.1 KiB
PHP
Raw Normal View History

2024-12-25 03:04:59 +00:00
<?php
return [
'components' => [
2025-11-20 04:48:51 +00:00
/*'db' => [
2024-12-25 03:04:59 +00:00
'class' => 'yii\db\Connection',
2024-12-26 04:45:57 +00:00
'dsn' => 'mysql:host=localhost;dbname=surat_pathology',
2025-04-01 17:03:43 +00:00
'username' => 'surat_pathology',
2024-12-26 04:45:57 +00:00
'password' => 'Ss157344121165',
2024-12-25 03:04:59 +00:00
'charset' => 'utf8',
2025-11-11 09:44:50 +00:00
'enableSchemaCache' => true,
'schemaCacheDuration' => 0,
2024-12-25 03:04:59 +00:00
'schemaCache' => 'cache',
2025-11-20 04:48:51 +00:00
],*/
'db' => [
2025-04-01 17:03:43 +00:00
'class' => 'yii\db\Connection',
2025-08-18 06:19:16 +00:00
'dsn' => 'mysql:host=mariadb;dbname=surat_pathology',
2025-04-01 17:03:43 +00:00
'username' => 'root',
'password' => 'Ss157344121165',
'charset' => 'utf8',
2025-11-11 09:44:50 +00:00
'enableSchemaCache' => true,
'schemaCacheDuration' => 0,
2025-04-01 17:03:43 +00:00
'schemaCache' => 'cache',
2025-11-20 04:48:51 +00:00
],
2024-12-25 03:04:59 +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-08-18 06:19:16 +00:00
];