Back to index

php5  5.3.10
skipif.inc
Go to the documentation of this file.
00001 <?php
00002 
00003 if (substr(php_sapi_name(), 0, 3) == "cgi") {
00004        exit;
00005 }
00006 
00007 if (substr(PHP_OS, 0, 3) == 'WIN') {
00008        die ("skip not for Windows");
00009 }
00010 
00011 include dirname(__FILE__)."/include.inc";
00012 
00013 if (!get_cgi_path()) {
00014        die("skip CGI not found");
00015 }
00016 
00017 ?>