diff options
| author | Stefan Esser | 2010-02-21 11:44:54 +0100 |
|---|---|---|
| committer | Stefan Esser | 2010-02-21 11:44:54 +0100 |
| commit | 36dbfacbe64697d959f524e537b15b73c090d898 (patch) | |
| tree | f1c7ce1409b0e7765fc72d550546967fcf0f9717 /tests/skipifcli.inc | |
Inital commit
Diffstat (limited to 'tests/skipifcli.inc')
| -rw-r--r-- | tests/skipifcli.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/skipifcli.inc b/tests/skipifcli.inc new file mode 100644 index 0000000..63b41ca --- /dev/null +++ b/tests/skipifcli.inc | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | <?php | ||
| 2 | if (php_sapi_name()=='cli') { | ||
| 3 | print 'skip - SAPI == cli'; | ||
| 4 | } else { | ||
| 5 | if(!extension_loaded("suhosin")) | ||
| 6 | print "skip - SUHOSIN extension not available"; | ||
| 7 | } | ||
| 8 | ?> | ||
