From 00f14fbd74e09823f21938e523e33e0716733de0 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Wed, 22 Jun 2005 13:41:59 +0000 Subject: [PATCH] Slightly more reliable current path detection. --- ext/mysqli/tests/connect.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/mysqli/tests/connect.inc b/ext/mysqli/tests/connect.inc index fb538558bb6..2fcf4ff0fff 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",