Skip to content

Commit

Permalink
More novice friendly config for debug
Browse files Browse the repository at this point in the history
  • Loading branch information
samdark committed Jul 20, 2015
1 parent ef8f6f6 commit 744db5c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ Once the extension is installed, simply modify your application configuration as
return [
'bootstrap' => ['debug'],
'modules' => [
'debug' => 'yii\debug\Module',
'debug' => [
'class' => 'yii\debug\Module',
],
// ...
],
...
Expand Down
4 changes: 3 additions & 1 deletion docs/guide/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ To enable extension, add these lines to your configuration file to enable the de
```php
'bootstrap' => ['debug'],
'modules' => [
'debug' => 'yii\debug\Module',
'debug' => [
'class' => 'yii\debug\Module',
],
]
```

Expand Down

0 comments on commit 744db5c

Please sign in to comment.