diff options
author | Marcus Boerger <helly@php.net> | 2003-01-04 19:19:59 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2003-01-04 19:19:59 +0000 |
commit | 6a75a52ad85b094a6c3a16e4c92a5720ce484952 (patch) | |
tree | d43f73872ac102beef5a476aaa5d706162f920ab /ext/exif | |
parent | 2705070dd8e78b380b6701a1fee775a94a96e6a9 (diff) | |
download | php-git-6a75a52ad85b094a6c3a16e4c92a5720ce484952.tar.gz |
better to check for existance first
Diffstat (limited to 'ext/exif')
-rw-r--r-- | ext/exif/tests/exif003.phpt | 2 | ||||
-rw-r--r-- | ext/exif/tests/exif004.phpt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/exif/tests/exif003.phpt b/ext/exif/tests/exif003.phpt index f58f4f5e12..20cb61ee17 100644 --- a/ext/exif/tests/exif003.phpt +++ b/ext/exif/tests/exif003.phpt @@ -4,7 +4,7 @@ Check for exif_read_data, Unicode user comment <?php if (!extension_loaded('exif')) die('skip exif extension not available'); if (!extension_loaded('mbstring')) die('skip mbstring extension not available'); - if (!EXIF_USE_MBSTRING) die ('skip mbstring loaded by dl'); + if (!defined("EXIF_USE_MBSTRING") || !EXIF_USE_MBSTRING) die ('skip mbstring loaded by dl'); ?> --INI-- output_handler= diff --git a/ext/exif/tests/exif004.phpt b/ext/exif/tests/exif004.phpt index 19d2e5e9ea..229f49e145 100644 --- a/ext/exif/tests/exif004.phpt +++ b/ext/exif/tests/exif004.phpt @@ -4,7 +4,7 @@ Check for exif_read_data, Unicode WinXP tags <?php if (!extension_loaded('exif')) die('skip exif extension not available'); if (!extension_loaded('mbstring')) die('skip mbstring extension not available'); - if (!EXIF_USE_MBSTRING) die ('skip mbstring loaded by dl'); + if (!defined("EXIF_USE_MBSTRING") || !EXIF_USE_MBSTRING) die ('skip mbstring loaded by dl'); ?> --INI-- output_handler= |