summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArd Biesheuvel <abies@php.net>2004-02-17 20:57:26 +0000
committerArd Biesheuvel <abies@php.net>2004-02-17 20:57:26 +0000
commitc07cd30cd0ceea3fa62f00b3afe8bd992c6c888b (patch)
treed473eda4adb3f531d5b1f4d4492a73b29d1a6931
parentc9af2f28e2c0515f6042be46d0090ef6018ebf71 (diff)
downloadphp-git-c07cd30cd0ceea3fa62f00b3afe8bd992c6c888b.tar.gz
Really disallow persistent connections if ini option is set
-rw-r--r--ext/interbase/interbase.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/interbase/interbase.c b/ext/interbase/interbase.c
index 2a0ebbb4e6..246b1742e9 100644
--- a/ext/interbase/interbase.c
+++ b/ext/interbase/interbase.c
@@ -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));
}
/* }}} */