diff options
| author | Syndamia <kamen@syndamia.com> | 2025-02-08 17:51:00 +0200 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2025-02-08 17:51:00 +0200 |
| commit | 8cc28706954450f7e94ac587b24f41be8a8b118e (patch) | |
| tree | f58c9086628be2af531ca6d8c184edaeb55085cc | |
| parent | 0769feb5cda8c21ea12a30f94f03b5a74f61e804 (diff) | |
| download | nowayforward_human-8cc28706954450f7e94ac587b24f41be8a8b118e.tar nowayforward_human-8cc28706954450f7e94ac587b24f41be8a8b118e.tar.gz nowayforward_human-8cc28706954450f7e94ac587b24f41be8a8b118e.zip | |
fix(views/list): Use environment dir for archives instead of hard-coded path
| -rw-r--r-- | views/list/export/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/list/export/index.php b/views/list/export/index.php index 6e58405..fc8630b 100644 --- a/views/list/export/index.php +++ b/views/list/export/index.php @@ -14,7 +14,7 @@ $url = $_GET['url']; $title = $_GET['title']; $wid = $_GET['wid']; - $archive_dir = __DIR__ . '/../../../.archives/' . $wid; + $archive_dir = getenv('ARCHIVES_DIR') . '/' . $wid; $html = file_get_contents($archive_dir . '/index.php'); $dompdf = new Dompdf(); |
