index.php 869 Bytes
Newer Older
1 2 3 4 5 6 7 8
<?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
Alexander Makarov committed
9 10
 * return [
 *     'environment name' => [
11
 *         'path' => 'directory storing the local files',
Alexander Makarov committed
12
 *         'writable' => [
13
 *             // list of directories that should be set writable
Alexander Makarov committed
14 15 16
 *         ],
 *     ],
 * ];
17 18
 * ```
 */
19
return [
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
    'Development' => [
        'path' => 'dev',
        'writable' => [
            // handled by composer.json already
        ],
        'executable' => [
            'yii',
        ],
    ],
    'Production' => [
        'path' => 'prod',
        'writable' => [
            // handled by composer.json already
        ],
        'executable' => [
            'yii',
        ],
    ],
38
];