Skip to content

Commit c6d6f60

Browse files
committed
Add optional hosts parameter
1 parent 6783401 commit c6d6f60

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/interbase.inc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ require('functions.inc');
55

66
/* we need just the generated name, not the file itself */
77
unlink($test_base = tempnam(sys_get_temp_dir(),"php_ibase_test"));
8+
if(!empty($host))$test_base = "$host:$test_base";
89

910
function init_db()
1011
{
@@ -31,5 +32,3 @@ function cleanup_db()
3132

3233
register_shutdown_function('cleanup_db');
3334
init_db();
34-
35-
?>

0 commit comments

Comments
 (0)