Annotation of embedaddon/php/sapi/cgi/tests/skipif.inc, revision 1.1.1.1

1.1       misho       1: <?php
                      2: 
                      3: if (substr(php_sapi_name(), 0, 3) == "cgi") {
                      4:        exit;
                      5: }
                      6: 
                      7: if (substr(PHP_OS, 0, 3) == 'WIN') {
                      8:        die ("skip not for Windows");
                      9: }
                     10: 
                     11: include dirname(__FILE__)."/include.inc";
                     12: 
                     13: if (!get_cgi_path()) {
                     14:        die("skip CGI not found");
                     15: }
                     16: 
                     17: ?>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>