mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 08:30:07 +01:00
Don't even set the INI setting because it doesn't work in 5.6, do this dumb hack instead.
This commit is contained in:
@@ -119,7 +119,8 @@ public function mutateUri($uri)
|
||||
*/
|
||||
public function serveStaticFile($staticFilePath, $sitePath, $siteName, $uri)
|
||||
{
|
||||
ini_set('default_mimetype', '');
|
||||
header('Content-Type: text/html');
|
||||
header_remove('Content-Type');
|
||||
header('X-Accel-Redirect: ' . $staticFilePath);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user