diff --git a/common/config/main.php b/common/config/main.php index cc987a6..64e0e87 100755 --- a/common/config/main.php +++ b/common/config/main.php @@ -17,7 +17,8 @@ ], ], 'artbox-comment' => [ - 'class' => 'artbox\webcomment\Module', + 'class' => 'artbox\webcomment\Module', + 'enablePremoderate' => false, ], ], 'components' => [ diff --git a/frontend/config/main.php b/frontend/config/main.php index 1d60719..f2d4d3a 100755 --- a/frontend/config/main.php +++ b/frontend/config/main.php @@ -71,6 +71,13 @@ 'special/' => 'special/index', 'special//' => 'special/category', 'robots.txt' => 'site/robots', + [ + 'pattern' => 'artbox-comment/manage/', + 'route' => 'notfound', + 'defaults' => [ + 'action' => '', + ], + ], ], ], 'basket' => [ -- libgit2 0.21.4