summaryrefslogtreecommitdiff
path: root/sapi/cgi/tests/skipif.inc
blob: 9da8b7934d82769843444ef3950d4049c96f5e4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

if (substr(php_sapi_name(), 0, 3) == "cgi") {
	exit;
}

if (substr(PHP_OS, 0, 3) == 'WIN') {
	die ("skip not for Windows");
}

include dirname(__FILE__)."/include.inc";

if (!get_cgi_path()) {
	die("skip CGI not found");
}

?>