diff options
author | Georg Richter <georg@php.net> | 2003-05-30 19:16:58 +0000 |
---|---|---|
committer | Georg Richter <georg@php.net> | 2003-05-30 19:16:58 +0000 |
commit | 881414e0af7d79b67b3f189bf7b68964236b808f (patch) | |
tree | 6f73137c043a9bd3bdab534ce98a84d09d4ed1f0 /ext/mysql/php_mysql.c | |
parent | d1cbbf62c91a45fbfd9c8bfc6d20e111163e824f (diff) | |
download | php-git-881414e0af7d79b67b3f189bf7b68964236b808f.tar.gz |
better to test next time with the right version :)
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 1aa6990d16..0641c98ab8 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 (strlen(PG(open_basedir))) { + if (PG(open_basedir)) { client_flags ^= CLIENT_LOCAL_FILES; } |