Commit d25ce096c718bf433f118b2ef4cbf4fd9862b3ce

Authored by alex
1 parent 1a2eb53c

cмержил свою ветку с мастером

frontend/config/main.php
@@ -22,7 +22,6 @@ use yii\helpers\Url; @@ -22,7 +22,6 @@ use yii\helpers\Url;
22 Yii::$app->response->redirect($url, 301); 22 Yii::$app->response->redirect($url, 301);
23 } # редирект с www.siteName.com//////////////////////// на www.siteName.com 23 } # редирект с www.siteName.com//////////////////////// на www.siteName.com
24 elseif (substr($pathInfo, 0, 1) == "/" && substr($pathInfo, 1, 1) == "/") { 24 elseif (substr($pathInfo, 0, 1) == "/" && substr($pathInfo, 1, 1) == "/") {
25 -  
26 Yii::$app->response->redirect('/site/index', 301); 25 Yii::$app->response->redirect('/site/index', 301);
27 } 26 }
28 }, 27 },
frontend/views/blog/_article.php
@@ -24,7 +24,6 @@ $imageHeight = 240; @@ -24,7 +24,6 @@ $imageHeight = 240;
24 <?php 24 <?php
25 $alt = (isset($model->image->lang->attributes['alt'])) ? $model->image->lang->attributes['alt'] : ''; 25 $alt = (isset($model->image->lang->attributes['alt'])) ? $model->image->lang->attributes['alt'] : '';
26 $description = (isset($model->image->lang->attributes['description'])) ? $model->image->lang->attributes['description'] : ''; 26 $description = (isset($model->image->lang->attributes['description'])) ? $model->image->lang->attributes['description'] : '';
27 -  
28 ?> 27 ?>
29 <meta itemprop="url" 28 <meta itemprop="url"
30 content="http://clinica.loc/storage/helper/17_m3OLnPXP_FqgNDCoOf0zpWi50UHSaOsm_cr_360_x_240_q84.jpg"> 29 content="http://clinica.loc/storage/helper/17_m3OLnPXP_FqgNDCoOf0zpWi50UHSaOsm_cr_360_x_240_q84.jpg">