<?php
namespace wcf\page;
+use wcf\system\request\LinkHandler;
use wcf\system\WCF;
use wcf\util\StringUtil;
/**
* @inheritDoc
*/
- public $activeMenuItem = 'wcf.footer.menu.legalNotice';
+ public function readParameters() {
+ parent::readParameters();
+
+ $this->canonicalURL = LinkHandler::getInstance()->getLink('LegalNotice');
+ }
/**
* @inheritDoc
{capture assign='contentDescription'}{lang}wcf.legalNotice.description{/lang}{/capture}
-{capture assign='headContent'}
- <link rel="canonical" href="{link controller='LegalNotice'}{/link}">
-{/capture}
-
{include file='header'}
<section class="section">