abies Tue Feb 17 15:57:27 2004 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/interbase interbase.c Log: Really disallow persistent connections if ini option is set http://cvs.php.net/diff.php/php-src/ext/interbase/interbase.c?r1=1.91.2.30&r2=1.91.2.31&ty=u Index: php-src/ext/interbase/interbase.c diff -u php-src/ext/interbase/interbase.c:1.91.2.30 php-src/ext/interbase/interbase.c:1.91.2.31 --- php-src/ext/interbase/interbase.c:1.91.2.30 Sun Feb 15 13:43:46 2004 +++ php-src/ext/interbase/interbase.c Tue Feb 17 15:57:26 2004 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: interbase.c,v 1.91.2.30 2004/02/15 18:43:46 abies Exp $ */ +/* $Id: interbase.c,v 1.91.2.31 2004/02/17 20:57:26 abies Exp $ */ /* TODO: Arrays, roles? @@ -643,7 +643,7 @@ php_info_print_table_start(); php_info_print_table_row(2, "Interbase Support", "enabled"); - php_info_print_table_row(2, "Revision", "$Revision: 1.91.2.30 $"); + php_info_print_table_row(2, "Revision", "$Revision: 1.91.2.31 $"); #ifdef COMPILE_DL_INTERBASE php_info_print_table_row(2, "Dynamic Module", "yes"); #endif @@ -945,7 +945,7 @@ Open a persistent connection to an InterBase database */ PHP_FUNCTION(ibase_pconnect) { - _php_ibase_connect(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1); + _php_ibase_connect(INTERNAL_FUNCTION_PARAM_PASSTHRU, IBG(allow_persistent)); } /* }}} */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php