diff options
author | Xinchen Hui <laruence@gmail.com> | 2015-11-16 16:58:19 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@gmail.com> | 2015-11-16 16:59:55 +0800 |
commit | be6fd4ba89e151b68ddd68e53d6a403c2e8eb862 (patch) | |
tree | f248aa3560451beee5b41cd0c68cdc2787693fb6 /ext/mysqlnd/mysqlnd.c | |
parent | e5abc53701ba5a9b58dfaba3b59881c9c410a8e7 (diff) | |
download | php-git-be6fd4ba89e151b68ddd68e53d6a403c2e8eb862.tar.gz |
Fixed bug #68077 (LOAD DATA LOCAL INFILE / open_basedir restriction)
Actually, this only be fixed if php uses mysqlnd
Diffstat (limited to 'ext/mysqlnd/mysqlnd.c')
-rw-r--r-- | ext/mysqlnd/mysqlnd.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/mysqlnd/mysqlnd.c b/ext/mysqlnd/mysqlnd.c index 94a314964d..5bdda605ea 100644 --- a/ext/mysqlnd/mysqlnd.c +++ b/ext/mysqlnd/mysqlnd.c @@ -759,10 +759,6 @@ MYSQLND_METHOD(mysqlnd_conn_data, get_updated_connect_flags)(MYSQLND_CONN_DATA * mysql_flags |= conn->options->flags; /* use the flags from set_client_option() */ - if (PG(open_basedir) && strlen(PG(open_basedir))) { - mysql_flags ^= CLIENT_LOCAL_FILES; - } - #ifndef MYSQLND_COMPRESSION_ENABLED if (mysql_flags & CLIENT_COMPRESS) { mysql_flags &= ~CLIENT_COMPRESS; |