Skip to content
This repository was archived by the owner on Aug 8, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions Classes/Utility/GeneralUtility.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,17 +121,17 @@ public static function getRootLine($uid = null)
#################
# Current rootline
#################
if (empty(self::$rootlineCache['__CURRENT__'])) {
// Current rootline
$rootline = $GLOBALS['TSFE']->tmpl->rootLine;
// Current rootline
$rootline = $GLOBALS['TSFE']->tmpl->rootLine;

// Filter rootline by siteroot
$rootline = self::filterRootlineBySiteroot((array)$rootline);
// Filter rootline by siteroot
$rootline = self::filterRootlineBySiteroot((array)$rootline);

self::$rootlineCache['__CURRENT__'] = $rootline;
}
$currentUid = $rootline[0]['uid'];

self::$rootlineCache[$currentUid] = $rootline;

$ret = self::$rootlineCache['__CURRENT__'];
$ret = self::$rootlineCache[$currentUid];
} else {
#################
# Other rootline
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "webdevops/metaseo",
"name": "stuartmcfarlane/metaseo",
"type": "typo3-cms-extension",
"description": "SEO extension for TYPO3",
"homepage": "https://github.com/webdevops/TYPO3-metaseo",
Expand All @@ -8,7 +8,7 @@
},
"license": ["GPL-3.0+"],
"keywords": ["TYPO3 CMS"],
"version": "2.1.0",
"version": "2.1.1",
"autoload": {
"psr-4": {
"Metaseo\\Metaseo\\": "Classes/"
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
'description' => 'Search Engine Optimization (SEO), Indexed Google-Sitemap (TXT- and XML-Sitemap) for all Extensions (pibase, extbase), Metatags, Canonical-URL, Pagetitle manipulations, Crawler verification, Piwik and Google Analytics support and some more... multi-language- and multi-tree-support',
'category' => 'misc',
'shy' => 0,
'version' => '2.1.0',
'version' => '2.1.1',
'dependencies' => '',
'conflicts' => '',
'priority' => '',
Expand Down