You are here

public function SecurityReview::isServerPosix in Security Review 8

Returns whether the server is POSIX.

Return value

bool Whether the web server is POSIX based.

1 call to SecurityReview::isServerPosix()
SecurityReview::setServerData in src/SecurityReview.php
Stores information about the server into the State system.

File

src/SecurityReview.php, line 305

Class

SecurityReview
A class containing static methods regarding the module's configuration.

Namespace

Drupal\security_review

Code

public function isServerPosix() {
  return function_exists('posix_getuid');
}