]> granicus.if.org Git - php/commitdiff
better to test next time with the right version :)
authorGeorg Richter <georg@php.net>
Fri, 30 May 2003 19:16:58 +0000 (19:16 +0000)
committerGeorg Richter <georg@php.net>
Fri, 30 May 2003 19:16:58 +0000 (19:16 +0000)
ext/mysql/php_mysql.c

index 1aa6990d167000660e40c63bb19d47d0d9c20a7b..0641c98ab8b922dac5b9c1d353e1ad4bb8cbe0df 100644 (file)
@@ -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;
                }