Skip to content

Commit

Permalink
Use sys_get_temp_dir() as default save location
Browse files Browse the repository at this point in the history
  • Loading branch information
bd808 committed Nov 28, 2014
1 parent 91e0be9 commit 3e9dbd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xhprof_lib/utils/xhprof_runs.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public function __construct($dir = null) {
if (empty($dir)) {

// some default that at least works on unix...
$dir = "/tmp";
$dir = sys_get_temp_dir();

xhprof_error("Warning: Must specify directory location for XHProf runs. ".
"Trying {$dir} as default. You can either pass the " .
Expand Down

0 comments on commit 3e9dbd6

Please sign in to comment.