summaryrefslogtreecommitdiff
path: root/ext/bz2/bz2.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/bz2/bz2.c
parent8f126f33ac87e3bf1432b2a94f27e5f8f47cde9f (diff)
downloadphp-git-1efe984d08ccab1d06f062ca157e3bdb2cb7cd57.tar.gz
- Get rid of using ENFORCE_SAFE_MODE.
Diffstat (limited to 'ext/bz2/bz2.c')
-rw-r--r--ext/bz2/bz2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bz2/bz2.c b/ext/bz2/bz2.c
index a063f21c56..07296d2daa 100644
--- a/ext/bz2/bz2.c
+++ b/ext/bz2/bz2.c
@@ -327,7 +327,7 @@ PHP_FUNCTION(bzopen)
stream = php_stream_bz2open(NULL,
Z_STRVAL_PP(file),
Z_STRVAL_PP(mode),
- ENFORCE_SAFE_MODE | REPORT_ERRORS,
+ REPORT_ERRORS,
NULL);
} else {
/* If it is a resource, than its a stream resource */