summaryrefslogtreecommitdiff
path: root/ext/ming/ming.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2006-02-19 04:29:42 +0000
committerAndi Gutmans <andi@php.net>2006-02-19 04:29:42 +0000
commit1efe984d08ccab1d06f062ca157e3bdb2cb7cd57 (patch)
treef12f77325e51b257cb0a8f039ed7568e4ed0fb34 /ext/ming/ming.c
parent8f126f33ac87e3bf1432b2a94f27e5f8f47cde9f (diff)
downloadphp-git-1efe984d08ccab1d06f062ca157e3bdb2cb7cd57.tar.gz
- Get rid of using ENFORCE_SAFE_MODE.
Diffstat (limited to 'ext/ming/ming.c')
-rw-r--r--ext/ming/ming.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/ming/ming.c b/ext/ming/ming.c
index 5cad69f83b..d2df70129c 100644
--- a/ext/ming/ming.c
+++ b/ext/ming/ming.c
@@ -1422,7 +1422,7 @@ PHP_METHOD(swffont, __construct)
php_stream * stream;
FILE * file;
- stream = php_stream_open_wrapper(Z_STRVAL_PP(zfile), "rb", REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL);
+ stream = php_stream_open_wrapper(Z_STRVAL_PP(zfile), "rb", REPORT_ERRORS, NULL);
if (stream == NULL) {
RETURN_FALSE;
@@ -2387,7 +2387,7 @@ PHP_METHOD(swfmovie, save)
}
convert_to_string_ex(x);
- stream = php_stream_open_wrapper(Z_STRVAL_PP(x), "wb", REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL);
+ stream = php_stream_open_wrapper(Z_STRVAL_PP(x), "wb", REPORT_ERRORS, NULL);
if (stream == NULL) {
RETURN_FALSE;