Skip to content
Snippets Groups Projects
Commit 8fe67efe authored by Tim Steiner's avatar Tim Steiner
Browse files

[gh-723] Fix Liferay migration of /web/site-name sites when migrated from that path. @0h30

parent 07494805
No related branches found
No related tags found
No related merge requests found
...@@ -1029,6 +1029,7 @@ class Unl_Migration_Tool ...@@ -1029,6 +1029,7 @@ class Unl_Migration_Tool
if ( if (
count($pathParts) >= 2 && $pathParts[0] == 'web' count($pathParts) >= 2 && $pathParts[0] == 'web'
&& !(in_array($urlParts['host'], array_keys($this->_liferaySubsites)) && in_array($pathParts[1], $this->_liferaySubsites[$urlParts['host']])) && !(in_array($urlParts['host'], array_keys($this->_liferaySubsites)) && in_array($pathParts[1], $this->_liferaySubsites[$urlParts['host']]))
&& substr(parse_url($this->_baseUrl, PHP_URL_PATH), 0, 5) != '/web/'
) { ) {
// If the site name is "special" look it up in the map. Otherwise, just add .unl.edu // If the site name is "special" look it up in the map. Otherwise, just add .unl.edu
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment