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:
@@ -119,6 +119,7 @@ public function mutateUri($uri)
|
||||
*/
|
||||
public function serveStaticFile($staticFilePath, $sitePath, $siteName, $uri)
|
||||
{
|
||||
ini_set('default_mimetype', '');
|
||||
header('X-Accel-Redirect: ' . $staticFilePath);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user