diff options
Diffstat (limited to 'ext/pdo_firebird/tests/testdb.inc')
| -rw-r--r-- | ext/pdo_firebird/tests/testdb.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_firebird/tests/testdb.inc b/ext/pdo_firebird/tests/testdb.inc index f6951a7b13..cbf2023094 100644 --- a/ext/pdo_firebird/tests/testdb.inc +++ b/ext/pdo_firebird/tests/testdb.inc @@ -6,7 +6,7 @@ ini_set('ibase.default_user',$user); ini_set('ibase.default_password',$password); /* we need just the generated name, not the file itself */ -unlink($test_base = tempnam('/tmp',"php_ibase_test")); +unlink($test_base = tempnam(sys_get_temp_dir(),"php_ibase_test")); function init_db() { |
