equal
deleted
inserted
replaced
132 /** |
132 /** |
133 * Whether the server software is IIS 7.X or greater |
133 * Whether the server software is IIS 7.X or greater |
134 * |
134 * |
135 * @global bool $is_iis7 |
135 * @global bool $is_iis7 |
136 */ |
136 */ |
137 $is_iis7 = $is_IIS && intval( substr( $_SERVER['SERVER_SOFTWARE'], strpos( $_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS/' ) + 14 ) ) >= 7; |
137 $is_iis7 = $is_IIS && (int) substr( $_SERVER['SERVER_SOFTWARE'], strpos( $_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS/' ) + 14 ) >= 7; |
138 |
138 |
139 /** |
139 /** |
140 * Test if the current browser runs on a mobile device (smart phone, tablet, etc.) |
140 * Test if the current browser runs on a mobile device (smart phone, tablet, etc.) |
141 * |
141 * |
142 * @since 3.4.0 |
142 * @since 3.4.0 |