Slightly more reliable current path detection.

This commit is contained in:
Ilia Alshanetsky 2005-06-22 13:41:59 +00:00
parent 46b276ee4b
commit 00f14fbd74

View file

@ -9,7 +9,7 @@
$user = "root"; $user = "root";
$passwd = ""; $passwd = "";
} else { } else {
$path = realpath('./ext/mysqli/tests'); $path = dirname(__FILE__);
$host = $user = $passwd = NULL; $host = $user = $passwd = NULL;
$args = array( $args = array(
"--datadir=$path", "--datadir=$path",