diff --git a/frontend/config/main.php b/frontend/config/main.php index ab5f31e..cdf6cdd 100755 --- a/frontend/config/main.php +++ b/frontend/config/main.php @@ -22,7 +22,6 @@ use yii\helpers\Url; Yii::$app->response->redirect($url, 301); } # редирект с www.siteName.com//////////////////////// на www.siteName.com elseif (substr($pathInfo, 0, 1) == "/" && substr($pathInfo, 1, 1) == "/") { - Yii::$app->response->redirect('/site/index', 301); } }, diff --git a/frontend/views/blog/_article.php b/frontend/views/blog/_article.php index f974272..3b5ff09 100755 --- a/frontend/views/blog/_article.php +++ b/frontend/views/blog/_article.php @@ -24,7 +24,6 @@ $imageHeight = 240; image->lang->attributes['alt'])) ? $model->image->lang->attributes['alt'] : ''; $description = (isset($model->image->lang->attributes['description'])) ? $model->image->lang->attributes['description'] : ''; - ?> -- libgit2 0.21.4