diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2005-06-22 13:41:59 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2005-06-22 13:41:59 +0000 |
| commit | 00f14fbd74e09823f21938e523e33e0716733de0 (patch) | |
| tree | 8a67600698f1b4be635e88d62065170ee0449631 /ext/mysqli/tests | |
| parent | 46b276ee4bf798bb0cf6980798b0752f8c0bdd01 (diff) | |
| download | php-git-00f14fbd74e09823f21938e523e33e0716733de0.tar.gz | |
Slightly more reliable current path detection.
Diffstat (limited to 'ext/mysqli/tests')
| -rw-r--r-- | ext/mysqli/tests/connect.inc | 2 |
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", |
