mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-04 22:57:40 +08:00
Merge pull request #16 from lisgroup/patch-3
Update structure-applications.md
This commit is contained in:
@ -129,7 +129,7 @@ $config = require(__DIR__ . '/../config/web.php');
|
|||||||
'level' => 3,
|
'level' => 3,
|
||||||
],
|
],
|
||||||
|
|
||||||
// 无名称函数
|
// 匿名函数
|
||||||
function () {
|
function () {
|
||||||
return new app\components\Profiler();
|
return new app\components\Profiler();
|
||||||
}
|
}
|
||||||
@ -192,7 +192,7 @@ if (YII_ENV_DEV) {
|
|||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
> Info: Debug panel on development environment will not work when this property is enabled.
|
> Info: 当开启这个属性时,开发环境下的调试面板将不能工作。
|
||||||
|
|
||||||
#### [[yii\base\Application::components|components]] <span id="components"></span>
|
#### [[yii\base\Application::components|components]] <span id="components"></span>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user