We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff8b389 commit 0bbf2a2Copy full SHA for 0bbf2a2
xhprof_lib/utils/xhprof_runs.php
@@ -95,8 +95,7 @@ public function __construct($dir = null) {
95
$dir = ini_get("xhprof.output_dir");
96
if (empty($dir)) {
97
98
- // some default that at least works on unix...
99
- $dir = "/tmp";
+ $dir = sys_get_temp_dir();
100
101
xhprof_error("Warning: Must specify directory location for XHProf runs. ".
102
"Trying {$dir} as default. You can either pass the " .
0 commit comments