diff options
Diffstat (limited to 'views/list')
| -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(); |
