diff options
author | Andi Gutmans <andi@php.net> | 2006-02-19 04:29:42 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2006-02-19 04:29:42 +0000 |
commit | 1efe984d08ccab1d06f062ca157e3bdb2cb7cd57 (patch) | |
tree | f12f77325e51b257cb0a8f039ed7568e4ed0fb34 /ext/pgsql/pgsql.c | |
parent | 8f126f33ac87e3bf1432b2a94f27e5f8f47cde9f (diff) | |
download | php-git-1efe984d08ccab1d06f062ca157e3bdb2cb7cd57.tar.gz |
- Get rid of using ENFORCE_SAFE_MODE.
Diffstat (limited to 'ext/pgsql/pgsql.c')
-rw-r--r-- | ext/pgsql/pgsql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index 4085405dad..d1233cff8b 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -2354,7 +2354,7 @@ PHP_FUNCTION(pg_trace) ZEND_FETCH_RESOURCE2(pgsql, PGconn *, pgsql_link, id, "PostgreSQL link", le_link, le_plink); convert_to_string_ex(z_filename); - stream = php_stream_open_wrapper(Z_STRVAL_PP(z_filename), mode, ENFORCE_SAFE_MODE|REPORT_ERRORS, NULL); + stream = php_stream_open_wrapper(Z_STRVAL_PP(z_filename), mode, REPORT_ERRORS, NULL); if (!stream) { RETURN_FALSE; |