Commit 5ba4cfb43b59cac10fd18a8d4a54546981430db0
1 parent
69ea6548
remarketing
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
console/controllers/FeedController.php
... | ... | @@ -46,7 +46,7 @@ class FeedController extends Controller |
46 | 46 | $product->category->name, |
47 | 47 | $product->name, |
48 | 48 | $product->price.' UAH', |
49 | - \Yii::app()->name.$product->image->getImageUrl(), | |
49 | + Yii::$app->urlManager->baseUrl.$product->image->getImageUrl(), | |
50 | 50 | $url, |
51 | 51 | ]; |
52 | 52 | } | ... | ... |