shish 5 лет назад
Родитель
Сommit
e03b709908
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app-ghs/controllers/CsController.php

+ 1 - 1
app-ghs/controllers/CsController.php

@@ -161,7 +161,7 @@ class CsController extends PublicController
     {
         $filePath = './priceTable/12715/09-22.xls';
         $file=fopen($filePath,"r");
-        header("Content-Type: application/octet-stream");
+        header("Content-Type: application/vnd.ms-excel");
         header("Accept-Ranges: bytes");
         header("Accept-Length: ".filesize($filePath));
         header("Content-Disposition: attachment; filename=2.xls");