Skip to content

Commit

Permalink
Add optional hosts parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
mlazdans committed Mar 3, 2025
1 parent 6783401 commit c6d6f60
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/interbase.inc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ require('functions.inc');

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

function init_db()
{
Expand All @@ -31,5 +32,3 @@ function cleanup_db()

register_shutdown_function('cleanup_db');
init_db();

?>

0 comments on commit c6d6f60

Please sign in to comment.