чуть подправил заголовок

This commit is contained in:
Krivchikov Dmitry 2014-04-17 18:21:31 +04:00
parent 39a90a4a6c
commit 5f1e140223
1 changed files with 1 additions and 1 deletions

View File

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