We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aa5329 commit ae0cfeaCopy full SHA for ae0cfea
tests/server/server-debug.phpt
@@ -1,5 +1,5 @@
1
--TEST--
2
-MongoDB\Driver\Server::executeQuery() with sort and empty filter
+MongoDB\Driver\Server debugInfo
3
--SKIPIF--
4
<?php require __DIR__ . "/../utils/basic-skipif.inc"; CLEANUP(STANDALONE) ?>
5
--FILE--
tests/utils/basic.inc
@@ -1,8 +1,11 @@
<?php
require __DIR__ . "/" . "tools.php";
-
-$FILENAME = sys_get_temp_dir() . "/PHONGO-SERVERS.json";
+if (file_exists("{$_SERVER['HOME']}/PHONGO-SERVERS.json")) {
+ $FILENAME = "{$_SERVER['HOME']}/PHONGO-SERVERS.json";
6
+} else {
7
+ $FILENAME = sys_get_temp_dir() . "/PHONGO-SERVERS.json";
8
+}
9
10
$json = file_get_contents($FILENAME);
11
$config = json_decode($json, true);
0 commit comments