-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.php
35 lines (29 loc) · 853 Bytes
/
main.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
<?php
/**
* Main configuration.
* All properties can be overridden in mode_<mode>.php files
*/
return [
'yiiDebug' => true,
// This is the main Web application configuration. Any writable
// CWebApplication properties can be configured here.
'configWeb' => [
'basePath' => __DIR__ . '/..',
'name' => 'My Web Application',
'components' => [
// ...
]
],
// 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' => [
'basePath' => 'inherit',
'name' => 'My Console Application',
'aliases' => 'inherit',
'components' => [
// ...
],
],
];