private getLogLocation ( $server, $os ) : string | ||
$server | ||
$os | ||
Результат | string |
private function getLogLocation($server, $os)
{
$location = 'nginx';
if ($server != 'nginx') {
$location = $os == 'ubuntu14' ? 'apache2' : 'httpd';
}
return $location;
}