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:
@@ -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()];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
; Disable the default Content-Type header to defer MIME type detection
|
|
||||||
; for static files to Caddy
|
|
||||||
default_mimetype = ""
|
|
||||||
@@ -40,9 +40,4 @@ function fpmConfigPath()
|
|||||||
{
|
{
|
||||||
return __DIR__.'/output/fpm.conf';
|
return __DIR__.'/output/fpm.conf';
|
||||||
}
|
}
|
||||||
|
|
||||||
function fpmIniPath()
|
|
||||||
{
|
|
||||||
return __DIR__.'/output/ini.conf';
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
Test contents
|
|
||||||
|
|
||||||
default_mimetype = "text/html"
|
|
||||||
|
|
||||||
more contents
|
|
||||||
Reference in New Issue
Block a user