1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-05 08:30:07 +01:00

Disable default_mimetype with ini_set instead of via config file

This commit is contained in:
Adam Wathan
2016-09-24 16:29:44 -04:00
parent 1c29674d7b
commit 3facbef790
3 changed files with 1 additions and 19 deletions

View File

@@ -119,6 +119,7 @@ public function mutateUri($uri)
*/
public function serveStaticFile($staticFilePath, $sitePath, $siteName, $uri)
{
ini_set('default_mimetype', '');
header('X-Accel-Redirect: ' . $staticFilePath);
}