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
......@@ -1029,6 +1029,7 @@ class Unl_Migration_Tool
if (
count($pathParts) >= 2 && $pathParts[0] == 'web'
&& !(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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment