From d29a2cfa16d73e1ed852ca05dadf0f3e1ee85e2e Mon Sep 17 00:00:00 2001 From: yarik Date: Tue, 27 Sep 2016 15:25:04 +0300 Subject: [PATCH] Seo fix --- frontend/views/catalog/products.php | 9 +-------- frontend/widgets/Seo.php | 27 +++++++++++++-------------- 2 files changed, 14 insertions(+), 22 deletions(-) diff --git a/frontend/views/catalog/products.php b/frontend/views/catalog/products.php index eb440b1..a87181f 100755 --- a/frontend/views/catalog/products.php +++ b/frontend/views/catalog/products.php @@ -39,13 +39,6 @@ $this->registerJsFile(Yii::getAlias('@web/js/ion.rangeSlider.js'),[ 'position' => View::POS_END, 'depends' => ['yii\web\JqueryAsset'] ]); - - -function my_mb_ucfirst($str) { - $str = strtolower($str); - $fc = mb_strtoupper(mb_substr($str, 0, 1)); - return $fc.mb_substr($str, 1); -} ?>