Home
last modified time | relevance | path

Searched refs:replaceURL (Results 1 – 1 of 1) sorted by relevance

/plugin/siteexport/inc/
H A Dfunctions.php623 * @param replaceURL String URL which will be made relative if needed
627 public function getRelativeURL($replaceURL, $baseURL, $existingPageID = null) argument
632 return $replaceURL;
635 $origReplaceURL = $replaceURL;
636 $replaceURL = preg_replace("#^(\.\./)+#", '', $replaceURL);
639 if ($replaceURL == $origReplaceURL) {
640 $this->debug->message("The replaceURL was already absolute.", $replaceURL, 1);
641 return $replaceURL;
644 $replaceParts = explode('/', $replaceURL);
668 …$this->debug->message("Found URL '{$replaceURL}' that is relative to current page '{$baseURL}'.", …