You are here

function _google_tag_is_windows in GoogleTagManager 7

Same name and namespace in other branches
  1. 8 google_tag.module \_google_tag_is_windows()
  2. 7.2 google_tag.module \_google_tag_is_windows()

Determines whether the operating system is Windows.

Return value

bool Whether the operating system is Windows.

1 call to _google_tag_is_windows()
_google_tag_is_executable in includes/admin.inc
Determines whether a directory is searchable.

File

includes/admin.inc, line 515
Contains the administrative page and form callbacks.

Code

function _google_tag_is_windows() {
  return defined('PHP_OS_FAMILY') && PHP_OS_FAMILY == 'Windows' || defined('PHP_OS') && strcasecmp(substr(PHP_OS, 0, 3), 'win') == 0;
}