From e950ba39020e81824300ff9c1ba0adda05372923 Mon Sep 17 00:00:00 2001 From: Yarik Date: Fri, 26 May 2017 12:06:16 +0300 Subject: [PATCH] Artbox comment premoderate --- common/config/main.php | 3 ++- frontend/config/main.php | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) 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