Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Eric Rasmussen
UNL-CMS
Commits
8fe67efe
Commit
8fe67efe
authored
May 15, 2013
by
Tim Steiner
Browse files
[gh-723] Fix Liferay migration of /web/site-name sites when migrated from that path. @0h30
parent
07494805
Changes
1
Hide whitespace changes
Inline
Side-by-side
sites/all/modules/unl_migration/unl_migration.php
View file @
8fe67efe
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment