]> granicus.if.org Git - php/commitdiff
- skip with CLI
authorfoobar <sniper@php.net>
Fri, 29 Aug 2003 09:09:18 +0000 (09:09 +0000)
committerfoobar <sniper@php.net>
Fri, 29 Aug 2003 09:09:18 +0000 (09:09 +0000)
ext/fdf/tests/04-POST.phpt

index e492629309e40e30eecda0b290a3292068e8d423..a842015649e23da970b1a6516527d4f00db914e4 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 FDF POST data parsing
 --SKIPIF--
-<?php if (!extension_loaded("fdf")) print "skip"; ?>
+<?php if (php_sapi_name()=='cli' || !extension_loaded("fdf")) print "skip"; ?>
 --CGI--
 --HEADERS--
 return <<<END