diff options
Diffstat (limited to 'controllers')
| -rw-r--r-- | controllers/archive.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/controllers/archive.php b/controllers/archive.php index 939b133..a8d8598 100644 --- a/controllers/archive.php +++ b/controllers/archive.php @@ -296,11 +296,11 @@ class DownloadPage { if (count($correct_results) != 0) { // If there are any links that are the same as the urls make the $dom attribute point // to the latest version of that page - $tag->setAttribute($attribute, "../" . $correct_results[0]->WID . "/index.html"); + $tag->setAttribute($attribute, "/archives/" . $correct_results[0]->WID . "/index.html"); } else { // If there are no pages that are like that url point to the landing page of the site // that says that this page was not yet archived - $tag->setAttribute($attribute, "../../archive/index.php?page_url=" . $this->baseToFullUrlForGet($this->page_url, $link)); + $tag->setAttribute($attribute, "/archive/?url=" . $this->baseToFullUrlForGet($this->page_url, $link)); } } } |
