diff options
Diffstat (limited to 'ext/mime_magic/mime_magic.c')
| -rw-r--r-- | ext/mime_magic/mime_magic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mime_magic/mime_magic.c b/ext/mime_magic/mime_magic.c index 9e76feb16a..b071f68515 100644 --- a/ext/mime_magic/mime_magic.c +++ b/ext/mime_magic/mime_magic.c @@ -1060,7 +1060,7 @@ static int magic_process(zval *what TSRMLS_DC) switch (Z_TYPE_P(what)) { case IS_STRING: - stream = php_stream_open_wrapper(Z_STRVAL_P(what), "rb", IGNORE_PATH | ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL); + stream = php_stream_open_wrapper(Z_STRVAL_P(what), "rb", IGNORE_PATH | REPORT_ERRORS, NULL); if (stream == NULL) { /* We can't open it, but we were able to stat it. */ if(MIME_MAGIC_G(debug)) |
