mirror of
https://github.com/friendica/friendica
synced 2025-05-09 02:24:09 +02:00
Adapt BaseURL calls to new UriInterface
This commit is contained in:
parent
9e6d95284b
commit
f0c29edcde
101 changed files with 218 additions and 241 deletions
|
@ -59,7 +59,7 @@ class Download extends \Friendica\BaseModule
|
|||
|
||||
header('Content-Type: text/csv');
|
||||
header('Content-Transfer-Encoding: Binary');
|
||||
header('Content-disposition: attachment; filename="' . $this->baseUrl->getHostname() . '_domain_blocklist_' . substr($hash, 0, 6) . '.csv"');
|
||||
header('Content-disposition: attachment; filename="' . $this->baseUrl->getHost() . '_domain_blocklist_' . substr($hash, 0, 6) . '.csv"');
|
||||
header("Etag: $etag");
|
||||
|
||||
$this->blocklist->exportToFile('php://output');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue