]> granicus.if.org Git - php/commitdiff
Slightly more reliable current path detection.
authorIlia Alshanetsky <iliaa@php.net>
Wed, 22 Jun 2005 13:41:59 +0000 (13:41 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Wed, 22 Jun 2005 13:41:59 +0000 (13:41 +0000)
ext/mysqli/tests/connect.inc

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