diff options
| author | blotus | 2017-09-26 10:34:24 +0200 |
|---|---|---|
| committer | GitHub | 2017-09-26 10:34:24 +0200 |
| commit | 5bb28dfa613df0d642afaa70086ab1201fbb8cd5 (patch) | |
| tree | f1d4c535d7838773c1c98d65a596ce0441b6c479 /src/tests/disable_xxe_simplexml_oop.phpt | |
| parent | 37b67c1a96c84deb279376f1eb5c2e164dfae7a1 (diff) | |
| parent | 07c148b3790429c9da5a9500bfab9cbaa6d8ecf5 (diff) | |
Merge pull request #8 from nbs-system/fix_local_xxe
Fix XXE test when running without XML support
Diffstat (limited to 'src/tests/disable_xxe_simplexml_oop.phpt')
| -rw-r--r-- | src/tests/disable_xxe_simplexml_oop.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/disable_xxe_simplexml_oop.phpt b/src/tests/disable_xxe_simplexml_oop.phpt index 65e4574..43c4fbf 100644 --- a/src/tests/disable_xxe_simplexml_oop.phpt +++ b/src/tests/disable_xxe_simplexml_oop.phpt | |||
| @@ -2,8 +2,8 @@ | |||
| 2 | Disable XXE | 2 | Disable XXE |
| 3 | --SKIPIF-- | 3 | --SKIPIF-- |
| 4 | <?php | 4 | <?php |
| 5 | if (!extension_loaded("snuffleupagus")) die "skip"; | 5 | if (!extension_loaded("snuffleupagus")) echo "skip"; |
| 6 | if (!extension_loaded("simplexml")) die "skip"; | 6 | if (!extension_loaded("simplexml")) echo "skip"; |
| 7 | ?> | 7 | ?> |
| 8 | --INI-- | 8 | --INI-- |
| 9 | sp.configuration_file={PWD}/config/disable_xxe.ini | 9 | sp.configuration_file={PWD}/config/disable_xxe.ini |
