diff options
| author | Zeev Suraski <zeev@php.net> | 2001-07-31 07:09:49 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2001-07-31 07:09:49 +0000 |
| commit | b1de7fc900766b229f17bf9e1020b5a67b5b0964 (patch) | |
| tree | c405a417de3fdafcd98ad8db882b770e96e70d90 /ext/gd/gd_ctx.c | |
| parent | bc42c37513a730b0b3ff9cf29e14e45e4ec50c71 (diff) | |
| download | php-git-b1de7fc900766b229f17bf9e1020b5a67b5b0964.tar.gz | |
More TSRMLS_FETCH annihilation. Enough for today...
Diffstat (limited to 'ext/gd/gd_ctx.c')
| -rw-r--r-- | ext/gd/gd_ctx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/gd_ctx.c b/ext/gd/gd_ctx.c index b6c5df5986..3c389a38ba 100644 --- a/ext/gd/gd_ctx.c +++ b/ext/gd/gd_ctx.c @@ -49,7 +49,7 @@ static void _php_image_output_ctx(INTERNAL_FUNCTION_PARAMETERS, int image_type, } if ((argc == 2) || (argc == 3 && Z_STRLEN_PP(file))) { - if (!fn || fn == empty_string || php_check_open_basedir(fn)) { + if (!fn || fn == empty_string || php_check_open_basedir(fn TSRMLS_CC)) { php_error(E_WARNING, "%s: invalid filename '%s'", get_active_function_name(TSRMLS_C), fn); RETURN_FALSE; } |
