cvs: php-src /ext/mysqli/tests connect.inc
| From: | Ilia Alshanetsky | Date: | Wed, 22 Jun 2005 13:42:00 +0000 |
| Subject: | cvs: php-src /ext/mysqli/tests connect.inc | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-32472@lists.php.net to get a copy of this message | ||
iliaa Wed Jun 22 09:42:00 2005 EDT
Modified files:
/php-src/ext/mysqli/tests connect.inc
Log:
Slightly more reliable current path detection.
http://cvs.php.net/diff.php/php-src/ext/mysqli/tests/connect.inc?r1=1.5&r2=1.6&ty=u
Index: php-src/ext/mysqli/tests/connect.inc
diff -u php-src/ext/mysqli/tests/connect.inc:1.5 php-src/ext/mysqli/tests/connect.inc:1.6
--- php-src/ext/mysqli/tests/connect.inc:1.5 Mon May 9 17:16:49 2005
+++ php-src/ext/mysqli/tests/connect.inc Wed Jun 22 09:41:59 2005
@@ -9,7 +9,7 @@
$user = "root";
$passwd = "";
} else {
- $path = realpath('./ext/mysqli/tests');
+ $path = dirname(__FILE__);
$host = $user = $passwd = NULL;
$args = array(
"--datadir=$path",