Skip to content

Commit beba562

Browse files
Add another dirname
1 parent c51b0a1 commit beba562

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/RedisClusterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function testReconnectSelect() { return $this->markTestSkipped(); }
3535

3636
/* Load our seeds on construction */
3737
public function __construct() {
38-
$str_nodemap_file = dirname($_SERVER['PHP_SELF']) . '/nodes/nodemap';
38+
$str_nodemap_file = dirname(dirname($_SERVER['PHP_SELF'])) . '/nodes/nodemap';
3939

4040
if (!file_exists($str_nodemap_file)) {
4141
fprintf(STDERR, "Error: Can't find nodemap file for seeds!\n");

0 commit comments

Comments
 (0)