Blame view

environments/index.php 1.88 KB
2e86c939   xu   “首次提交”
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
<?php
/**
 * The manifest of files that are local to specific environment.
 * This file returns a list of environments that the application
 * may be installed under. The returned data must be in the following
 * format:
 *
 * ```php
 * return [
 *     'environment name' => [
 *         'path' => 'directory storing the local files',
 *         'skipFiles'  => [
 *             // list of files that should only copied once and skipped if they already exist
 *         ],
 *         'setWritable' => [
 *             // list of directories that should be set writable
 *         ],
 *         'setExecutable' => [
 *             // list of files that should be set executable
 *         ],
 *         'setCookieValidationKey' => [
 *             // list of config files that need to be inserted with automatically generated cookie validation keys
 *         ],
 *         'createSymlink' => [
 *             // list of symlinks to be created. Keys are symlinks, and values are the targets.
 *         ],
 *     ],
 * ];
 * ```
 */
return [
    'Development' => [
        'path' => 'dev',
        'setWritable' => [
        ],
        'setExecutable' => [
        ],
        'setCookieValidationKey' => [
            'app-ht/config/main-local.php',
b0393a3c   weigong   1. 更换短信模板
40
            'app-api/config/main-local.php',
2e86c939   xu   “首次提交”
41
42
43
44
45
46
47
48
49
50
51
52
        ],
    ],
    'Test' => [
        'path' => 'test',
        'setWritable' => [
        ],
        'setExecutable' => [
            'yii',
            'tests/codeception/bin/yii',
        ],
        'setCookieValidationKey' => [
            'app-ht/config/main-local.php',
b0393a3c   weigong   1. 更换短信模板
53
            'app-api/config/main-local.php',
2e86c939   xu   “首次提交”
54
55
56
57
58
59
60
61
62
63
64
        ],
    ],
    'Production' => [
        'path' => 'prod',
        'setWritable' => [
        ],
        'setExecutable' => [
            'yii',
        ],
        'setCookieValidationKey' => [
            'app-ht/config/main-local.php',
b0393a3c   weigong   1. 更换短信模板
65
            'app-api/config/main-local.php',
2e86c939   xu   “首次提交”
66
67
68
        ],
    ]
];