diff --git a/ground/controllers/PageController.php b/ground/controllers/PageController.php index 9604783..4fb652d 100644 --- a/ground/controllers/PageController.php +++ b/ground/controllers/PageController.php @@ -62,6 +62,7 @@ class PageController extends Controller $point = Point::model()->getByPK($id); $point->descriptionHtml = nl2br($point->description); $point->name = htmlspecialchars($point->name); + App::setConfig('title', $point->name. ' - wikipoints.ru'); $categories = Category::model()->getAll(array('order' => 'ord ASC', 'asArray' => true)); diff --git a/ground/views/modals/image.php b/ground/views/modals/image.php index d4a0c36..13a6e39 100644 --- a/ground/views/modals/image.php +++ b/ground/views/modals/image.php @@ -7,7 +7,7 @@