summaryrefslogtreecommitdiff
path: root/ext/pdo/pdo_dbh.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/pdo/pdo_dbh.c
parent8f126f33ac87e3bf1432b2a94f27e5f8f47cde9f (diff)
downloadphp-git-1efe984d08ccab1d06f062ca157e3bdb2cb7cd57.tar.gz
- Get rid of using ENFORCE_SAFE_MODE.
Diffstat (limited to 'ext/pdo/pdo_dbh.c')
-rwxr-xr-xext/pdo/pdo_dbh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo/pdo_dbh.c b/ext/pdo/pdo_dbh.c
index 83b4e30ca3..c72b6218de 100755
--- a/ext/pdo/pdo_dbh.c
+++ b/ext/pdo/pdo_dbh.c
@@ -183,7 +183,7 @@ static char *dsn_from_uri(char *uri, char *buf, size_t buflen TSRMLS_DC)
php_stream *stream;
char *dsn = NULL;
- stream = php_stream_open_wrapper(uri, "rb", ENFORCE_SAFE_MODE|REPORT_ERRORS, NULL);
+ stream = php_stream_open_wrapper(uri, "rb", REPORT_ERRORS, NULL);
if (stream) {
dsn = php_stream_get_line(stream, buf, buflen, NULL);
php_stream_close(stream);