private function getLogLocation($server, $os) { $location = 'nginx'; if ($server != 'nginx') { $location = $os == 'ubuntu14' ? 'apache2' : 'httpd'; } return $location; }