]> granicus.if.org Git - php/commitdiff
Really disallow persistent connections if ini option is set
authorArd Biesheuvel <abies@php.net>
Tue, 17 Feb 2004 20:57:26 +0000 (20:57 +0000)
committerArd Biesheuvel <abies@php.net>
Tue, 17 Feb 2004 20:57:26 +0000 (20:57 +0000)
ext/interbase/interbase.c

index 2a0ebbb4e639fbaab98d483a60b507f88f207181..246b1742e9fe58ba7e08e9df3f927ced09440fc6 100644 (file)
@@ -945,7 +945,7 @@ PHP_FUNCTION(ibase_connect)
    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));
 }
 /* }}} */