fix create windows service box

This commit is contained in:
mercury
2024-10-09 21:03:15 +04:00
parent 39643bf681
commit 486a2c5959
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -4876,7 +4876,7 @@ DNS-over-HTTPS with IP:
copy('/singbox/singbox.zip', $n);
$zip = new ZipArchive();
$zip->open($n, ZipArchive::CREATE);
$zip->addFile('/singbox/winsw3.xml', 'winsw3.xml');
$zip->addFromString('winsw3.xml', preg_replace('#~url~#', $link, file_get_contents('/singbox/winsw3.xml')));
$zip->close();
header('Content-Disposition: attachment; filename="singbox.zip"');
echo file_get_contents($n);
+2
View File
@@ -1,3 +1,5 @@
09.10.2024 v1.65
- фикс создания архива windows service singbox
06.10.2024 v1.64.1
- добавление html заглушки через меню
06.10.2024 v1.64