summaryrefslogtreecommitdiff
path: root/ext/pdo/tests/pdo_015.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pdo/tests/pdo_015.phpt')
-rw-r--r--ext/pdo/tests/pdo_015.phpt1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pdo/tests/pdo_015.phpt b/ext/pdo/tests/pdo_015.phpt
index 6e90fdcb97..089b814adc 100644
--- a/ext/pdo/tests/pdo_015.phpt
+++ b/ext/pdo/tests/pdo_015.phpt
@@ -10,6 +10,7 @@ PDOTest::skip();
?>
--FILE--
<?php
+if (getenv('REDIR_TEST_DIR') === false) putenv('REDIR_TEST_DIR='.dirname(__FILE__) . '/../../pdo/tests/');
require getenv('REDIR_TEST_DIR') . 'pdo_test.inc';
$db = PDOTest::factory();