public static function Utils::WindowsOS in Drupal driver for SQL Server and SQL Azure 8
Same name and namespace in other branches
- 8.2 drivers/lib/Drupal/Driver/Database/sqlsrv/Utils.php \Drupal\Driver\Database\sqlsrv\Utils::WindowsOS()
- 3.0.x drivers/lib/Drupal/Driver/Database/sqlsrv/Utils.php \Drupal\Driver\Database\sqlsrv\Utils::windowsOs()
Wether or not this is a Windows operating system.
1 call to Utils::WindowsOS()
- sqlsrv_requirements in ./
sqlsrv.install - Implements hook_requirements().
File
- drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ Utils.php, line 145
Class
Namespace
Drupal\Driver\Database\sqlsrvCode
public static function WindowsOS() {
return strncasecmp(PHP_OS, 'WIN', 3) == 0;
}