surat/common/config/main-local.php

45 lines
1.5 KiB
PHP
Raw Normal View History

2024-12-25 03:04:59 +00:00
<?php
return [
'components' => [
2025-08-18 06:19:16 +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',
'enableSchemaCache' => false,
'schemaCacheDuration' => 3600,
'schemaCache' => 'cache',
2025-08-18 06:19:16 +00:00
],*/
2025-04-02 23:10:55 +00:00
/*'db' => [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=surat_main',
'username' => 'root',
'password' => '',
'charset' => 'utf8',
'enableSchemaCache' => false,
'schemaCacheDuration' => 3600,
'schemaCache' => 'cache',
],*/
2025-08-18 06:19:16 +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',
'enableSchemaCache' => false,
'schemaCacheDuration' => 3600,
'schemaCache' => 'cache',
2025-08-18 06:19:16 +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
];