Skip to content

Commit

Permalink
Disable yii-debug on specific environments (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
xepozz committed Nov 27, 2022
1 parent 46a0026 commit fdd00a0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion config/prod/params.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@

declare(strict_types=1);

return [];
return [
'yiisoft/yii-debug' => [
'enabled' => false,
],
];
6 changes: 5 additions & 1 deletion config/test/params.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@

declare(strict_types=1);

return [];
return [
'yiisoft/yii-debug' => [
'enabled' => false,
],
];

0 comments on commit fdd00a0

Please sign in to comment.