summaryrefslogtreecommitdiff
path: root/ext/standard/iptc.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-03-30 22:56:34 +0000
committerAndi Gutmans <andi@php.net>2000-03-30 22:56:34 +0000
commit9c3d6304dd7fe870278a7ad8688e40a9645f609c (patch)
treec1ac0b30f40abbb832d9ae2eadc492079a7f8d7e /ext/standard/iptc.c
parent9df7df3293302198a29b1657682dba49ce02aa6b (diff)
downloadphp-git-9c3d6304dd7fe870278a7ad8688e40a9645f609c.tar.gz
- Hopefully got most of them. We also need a chdir_file function like
for Apache.
Diffstat (limited to 'ext/standard/iptc.c')
-rw-r--r--ext/standard/iptc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/iptc.c b/ext/standard/iptc.c
index a1365e25f2..619f95f5dc 100644
--- a/ext/standard/iptc.c
+++ b/ext/standard/iptc.c
@@ -198,7 +198,7 @@ PHP_FUNCTION(iptcembed)
if (php_check_open_basedir((*jpeg_file)->value.str.val))
RETURN_FALSE;
- if ((fp = fopen((*jpeg_file)->value.str.val,"rb")) == 0) {
+ if ((fp = PHP_FOPEN((*jpeg_file)->value.str.val,"rb")) == 0) {
php_error(E_WARNING, "Unable to open %s", (*jpeg_file)->value.str.val);
RETURN_FALSE;
}