mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
feat: Added ability to set page meta description (#1917)
* feat: Added ability to set page meta description * Update page_header.php * Update viewforum.php * Updated * Update viewtopic.php * Update viewtopic.php * Update viewtopic.php * Update viewtopic.php
This commit is contained in:
parent
5a60ee0193
commit
7b8b9a0bba
5 changed files with 19 additions and 0 deletions
|
@ -45,6 +45,9 @@ if ($bb_cfg['show_network_news']) {
|
|||
// Init userdata
|
||||
$user->session_start();
|
||||
|
||||
// Set meta description
|
||||
$page_cfg['meta_description'] = $bb_cfg['site_desc'];
|
||||
|
||||
// Init main vars
|
||||
$viewcat = isset($_GET[POST_CAT_URL]) ? (int)$_GET[POST_CAT_URL] : 0;
|
||||
$lastvisit = IS_GUEST ? TIMENOW : $userdata['user_lastvisit'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue