diff options
author | Georg Richter <georg@php.net> | 2003-05-31 06:54:53 +0000 |
---|---|---|
committer | Georg Richter <georg@php.net> | 2003-05-31 06:54:53 +0000 |
commit | fb7f9eb420349ebd03c85e3fd9eb9fa81008737d (patch) | |
tree | 105ec4fa2dfd27d1a0bd2eb1c9704a319b2309e2 /ext/mysql/php_mysql.c | |
parent | 9085f883adc463efd29c15daafddab7223481074 (diff) | |
download | php-git-fb7f9eb420349ebd03c85e3fd9eb9fa81008737d.tar.gz |
suggestion by Wez :)
Diffstat (limited to 'ext/mysql/php_mysql.c')
-rw-r--r-- | ext/mysql/php_mysql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index 0641c98ab8..25f325467f 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -562,7 +562,7 @@ static void php_mysql_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent) break; } /* disable local infile option for open_basedir */ - if (PG(open_basedir)) { + if (PG(open_basedir) && strlen(PG(open_basedir))) { client_flags ^= CLIENT_LOCAL_FILES; } |