1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-06 16:50:09 +01:00

Remove dead code

This commit is contained in:
Adam Wathan
2016-09-28 17:10:16 -04:00
parent b4af363a29
commit 802cfb0525
4 changed files with 0 additions and 30 deletions

View File

@@ -104,21 +104,4 @@ function fpmConfigPath()
return $confLookup[$this->brew->linkedPhp()]; return $confLookup[$this->brew->linkedPhp()];
} }
/**
* Get the path to Valet's PHP ini file for the current PHP version.
*
* @return string
*/
function fpmIniPath()
{
$versionLookup = [
'php71' => '/usr/local/etc/php/7.1/conf.d/valet.ini',
'php70' => '/usr/local/etc/php/7.0/conf.d/valet.ini',
'php56' => '/usr/local/etc/php/5.6/conf.d/valet.ini',
'php55' => '/usr/local/etc/php/5.5/conf.d/valet.ini',
];
return $versionLookup[$this->brew->linkedPhp()];
}
} }

View File

@@ -1,3 +0,0 @@
; Disable the default Content-Type header to defer MIME type detection
; for static files to Caddy
default_mimetype = ""

View File

@@ -40,9 +40,4 @@ function fpmConfigPath()
{ {
return __DIR__.'/output/fpm.conf'; return __DIR__.'/output/fpm.conf';
} }
function fpmIniPath()
{
return __DIR__.'/output/ini.conf';
}
} }

View File

@@ -1,5 +0,0 @@
Test contents
default_mimetype = "text/html"
more contents