Commit 8bef359de444bbf1ba680e0579b6c37041e7a169
1 parent
9a61eac9
big commti
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
frontend/views/layouts/main.php
@@ -258,7 +258,7 @@ use common\models\Event; | @@ -258,7 +258,7 @@ use common\models\Event; | ||
258 | <div class="col-md-12"> | 258 | <div class="col-md-12"> |
259 | <div class="row"> | 259 | <div class="row"> |
260 | <div class="col-md-4"> | 260 | <div class="col-md-4"> |
261 | - <?php if($this->beginCache('articles_show')){?> | 261 | + <?php if($this->beginCache('articles_show',3600*24) ){?> |
262 | <span class="posts-title">Статьи</span> | 262 | <span class="posts-title">Статьи</span> |
263 | <ul class="posts-links style"> | 263 | <ul class="posts-links style"> |
264 | <?php foreach(Articles::find()->all() as $article):?> | 264 | <?php foreach(Articles::find()->all() as $article):?> |