From 881414e0af7d79b67b3f189bf7b68964236b808f Mon Sep 17 00:00:00 2001 From: Georg Richter Date: Fri, 30 May 2003 19:16:58 +0000 Subject: better to test next time with the right version :) --- ext/mysql/php_mysql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/mysql/php_mysql.c') 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; } -- cgit v1.2.1