Index: trunk/extensions/MobileFrontend/MobileFrontend.php |
— | — | @@ -360,12 +360,8 @@ |
361 | 361 | } |
362 | 362 | $fragmentDelimiter = ( !empty( $parsedUrl['fragment'] ) ) ? '#' : ''; |
363 | 363 | $queryDelimiter = ( !empty( $parsedUrl['query'] ) ) ? '?' : ''; |
364 | | - $languageUrl = $parsedUrl['scheme'] . '://' . $parsedUrl['host'] . $parsedUrl['path'] . $queryDelimiter . $parsedUrl['query'] . $fragmentDelimiter . $parsedUrl['fragment']; |
| 364 | + $languageUrl = $parsedUrl['scheme'] . $parsedUrl['delimiter'] . $parsedUrl['host'] . $parsedUrl['path'] . $queryDelimiter . $parsedUrl['query'] . $fragmentDelimiter . $parsedUrl['fragment']; |
365 | 365 | |
366 | | - if ( substr( $languageUrl, 0, 1 ) == ':' ) { |
367 | | - $languageUrl = substr( $languageUrl, 1 ); |
368 | | - } |
369 | | - |
370 | 366 | $languageUrls[] = array( |
371 | 367 | 'href' => $languageUrl, |
372 | 368 | 'text' => $linkText, |