-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmode_development.php
57 lines (52 loc) · 1.5 KB
/
mode_development.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php
/**
* Development configuration
* Usage:
* - Local website
* - Local DB
* - Show all details on each error
* - Gii and debug modules enabled
*/
return [
'yiiDebug' => true,
// This is the specific Web application configuration for this mode.
// Supplied config elements will be merged into the main config array.
'configWeb' => [
'bootstrap' => ['debug', 'gii'],
'components' => [
'assetManager' => [
'linkAssets' => true,
],
'db' => [
'dsn' => '...',
'username' => '...',
'password' => '...',
],
'log' => [
'traceLevel' => 3,
'targets' => [
[
'class' => yii\log\FileTarget::class,
'levels' => ['error', 'warning', 'info'],
],
],
],
'mailer' => [
'useFileTransport' => true,
],
],
'modules' => [
'debug' => [
'class' => yii\debug\Module::class,
],
'gii' => [
'class' => yii\gii\Module::class,
],
],
],
// This is the Console application configuration. Any writable
// console application properties can be configured here.
// Leave array empty if not used.
// Use value 'inherit' to copy from generated configWeb.
'configConsole' => []
];