Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions docs/develop/environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,23 +82,26 @@ You may want to enable the [Yii Debug Module](http://www.yiiframework.com/doc-2.
in `.env`
```env
// @humhub/.env
HUMHUB_CONFIG__BOOSTRAP=['debug']
HUMHUB_CONFIG__MODULES__DEBUG='{"class":"yii\\\debug\\\Module", "allowedIPs": ["127.0.0.1", "::1"]}'
HUMHUB_CONFIG__BOOTSTRAP=["debug"]
HUMHUB_CONFIG__MODULES__DEBUG='{"class":"humhub\\components\\DebugModule", "allowedIPs": ["127.0.0.1", "::1"]}'
```

or in `protected/config/web.php`
```php
return [
'bootstrap' => ['debug'],
'modules' => [
'debug' => [
'class' => 'yii\debug\Module',
'allowedIPs' => ['127.0.0.1', '::1'],
],
]
'modules' => [
'debug' => [
'class' => 'humhub\components\DebugModule',
'allowedIPs' => ['127.0.0.1', '::1'],
],
]
];
```

Note: Class `humhub\components\DebugModule` is available since HumHub 1.18.3, use `yii\debug\Module` for older versions.


## Update your installation

Git based installations can be updated manually as follows:
Expand Down