Доработка OG

This commit is contained in:
Krivchikov Dmitry 2014-07-05 00:24:15 +04:00
parent a346da83c9
commit 6e8c83d4a5
1 changed files with 2 additions and 2 deletions

View File

@ -55,8 +55,8 @@ class IndexController extends Controller
$point = $point->getByPK($id);
$point->name = htmlspecialchars($point->name);
$point->descriptionHtml = htmlspecialchars($point->description);
$point->descriptionHtml .= '\n \n Посмотреть на карте: http://wikipoints.ru/?point='.$id;
$point->descriptionHtml .= '\n \n #wikipoints';
$point->descriptionHtml .= ' Посмотреть на карте: http://wikipoints.ru/?point='.$id;
$point->descriptionHtml .= ' #wikipoints';
$og['title'] = $point->name . ' - wikipoints.ru';
$og['description'] = $point->descriptionHtml;