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

[gh-239] Merging from testing into staging

git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x/staging@1117 20a16fea-79d4-4915-8869-1ea9d5ebf173
parent a07685bd
No related branches found
No related tags found
No related merge requests found
......@@ -804,8 +804,13 @@ class Unl_Migration_Tool
substr($absoluteUrl, 0, strlen($this->_baseUrl)) == $this->_baseUrl &&
in_array(basename($parts['path']), $this->_frontierIndexFiles)
) {
$parts['path'] = isset($parts['path']) ? dirname($parts['path']) . '/' : '';
if (substr($parts['path'], 0, 1) == '/') {
$parts['path'] = substr($parts['path'], 1);
}
$absoluteUrl = $parts['scheme'] . '://' . $parts['host'];
$absoluteUrl .= isset($parts['path']) ? dirname($parts['path']) . '/' : '';
$absoluteUrl .= $parts['path'];
$absoluteUrl .= isset($parts['query']) ? '?' . $parts['query'] : '';
$absoluteUrl .= isset($parts['fragment']) ? '#'.$parts['fragment'] : '';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment