summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysqli/tests')
-rw-r--r--ext/mysqli/tests/connect.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/tests/connect.inc b/ext/mysqli/tests/connect.inc
index fb538558bb..2fcf4ff0ff 100644
--- a/ext/mysqli/tests/connect.inc
+++ b/ext/mysqli/tests/connect.inc
@@ -9,7 +9,7 @@
$user = "root";
$passwd = "";
} else {
- $path = realpath('./ext/mysqli/tests');
+ $path = dirname(__FILE__);
$host = $user = $passwd = NULL;
$args = array(
"--datadir=$path",