Adjust redirects to new typolink format
This commit is contained in:
@@ -163,6 +163,12 @@ class RequestService
|
||||
*/
|
||||
public function initTSFE($id = 1, $typeNum = 0)
|
||||
{
|
||||
// Preprocess possible typolink format
|
||||
if (strpos($id, 't3://') !== false) {
|
||||
parse_str(parse_url($id, PHP_URL_QUERY), $arguments);
|
||||
$id = $arguments['uid'];
|
||||
}
|
||||
|
||||
EidUtility::initTCA();
|
||||
if (!is_object($GLOBALS['TT'])) {
|
||||
$GLOBALS['TT'] = new NullTimeTracker;
|
||||
|
||||
Reference in New Issue
Block a user