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 ae0cfea commit 1b2f920Copy full SHA for 1b2f920
tests/utils/basic.inc
@@ -1,9 +1,7 @@
1
<?php
2
require __DIR__ . "/" . "tools.php";
3
4
-if (file_exists("{$_SERVER['HOME']}/PHONGO-SERVERS.json")) {
5
- $FILENAME = "{$_SERVER['HOME']}/PHONGO-SERVERS.json";
6
-} else {
+if (($FILENAME = getenv("PHONGO_SERVERS")) === false) {
7
$FILENAME = sys_get_temp_dir() . "/PHONGO-SERVERS.json";
8
}
9
0 commit comments