diff options
| author | Georgi Nikolov <ggeorgi60@gmail.com> | 2025-01-19 18:39:02 +0000 |
|---|---|---|
| committer | Georgi Nikolov <ggeorgi60@gmail.com> | 2025-01-19 18:39:02 +0000 |
| commit | da156bc5f8735542bb5e351633b133339e8713e2 (patch) | |
| tree | da06f61c1b853d1b41070a114fb648b9f6e68fed | |
| parent | 7fd2314b7f077e09968addd6bfac4deeb7fd0aea (diff) | |
| download | nowayforward_human-da156bc5f8735542bb5e351633b133339e8713e2.tar nowayforward_human-da156bc5f8735542bb5e351633b133339e8713e2.tar.gz nowayforward_human-da156bc5f8735542bb5e351633b133339e8713e2.zip | |
Fixed the links in the html
| -rw-r--r-- | controllers/archive_page.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/controllers/archive_page.php b/controllers/archive_page.php index 0c05bb2..7c5a704 100644 --- a/controllers/archive_page.php +++ b/controllers/archive_page.php @@ -99,8 +99,7 @@ class DownloadPage { if ($this->is_resource_accessible($sourceUrl)) { $sourceContent = $this->download_file($sourceUrl); if ($sourceContent) { - $link->setAttribute($attribute, $folder_path . '/' . basename($source)); - // NOTE: This might need to be the basename instead of the sourceUrl + $link->setAttribute($attribute, './' . basename($source)); $file = fopen($folder_path . '/' . basename($source), "w"); fwrite($file, $sourceContent); fclose($file); |
