Перенёс количество точек в начало тайтла

This commit is contained in:
Krivchikov Dmitry 2014-04-30 09:01:37 +04:00
parent f3508a3012
commit 97fab94994
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class IndexController extends Controller
$category = new Category();
$res = App::$DB->query("SELECT COUNT(`id`) pointsCount FROM `points`")->fetch(PDO::FETCH_ASSOC);
App::setConfig('title', App::getConfig('title').' ('.$res['pointsCount'].' или даже больше поводов не сидеть дома)');
App::setConfig('title', $res['pointsCount'].' или даже больше поводов не сидеть дома');
self::render('indexTemplate.php', array(
'categories' => $category->getAll('', 'ord'),