summaryrefslogtreecommitdiff
path: root/ext/standard/image.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/image.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/image.c')
-rw-r--r--ext/standard/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/image.c b/ext/standard/image.c
index 021a142acc..30930c253d 100644
--- a/ext/standard/image.c
+++ b/ext/standard/image.c
@@ -338,7 +338,7 @@ PHP_FUNCTION(getimagesize)
/* Check open_basedir */
if (php_check_open_basedir((*arg1)->value.str.val)) return;
- if ((fp = fopen((*arg1)->value.str.val,"rb")) == 0) {
+ if ((fp = PHP_FOPEN((*arg1)->value.str.val,"rb")) == 0) {
php_error(E_WARNING, "Unable to open %s", (*arg1)->value.str.val);
return;
}