From: Georg Richter Date: Fri, 30 May 2003 19:16:58 +0000 (+0000) Subject: better to test next time with the right version :) X-Git-Tag: BEFORE_FD_REAPPLY~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=881414e0af7d79b67b3f189bf7b68964236b808f;p=php better to test next time with the right version :) --- 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; }