Surge-Files/VPS/default/index.php

8 lines
259 B
PHP
Raw Permalink Normal View History

2023-10-14 05:00:56 +02:00
<?php
$zipFilePath = '/var/www/html/client/Lemonade.zip';
header('Content-Type: application/zip');
header('Content-Disposition: attachment; filename="'.basename($zipFilePath).'"');
header('Content-Length: ' . filesize($zipFilePath));
readfile($zipFilePath);