You are here

public function XHProfRunsFile::__construct in XHProf 6

Same name in this branch
  1. 6 XHProfRunsFile.inc \XHProfRunsFile::__construct()
  2. 6 XHProfLib/XHProfRuns.php \XHProfRunsFile::__construct()
Same name and namespace in other branches
  1. 7 XHProfRunsFile.inc \XHProfRunsFile::__construct()
  2. 7 XHProfLib/XHProfRuns.php \XHProfRunsFile::__construct()

File

XHProfLib/XHProfRuns.php, line 7

Class

XHProfRunsFile

Code

public function __construct() {
  $this->dir = ini_get("xhprof.output_dir") ?: sys_get_temp_dir();
  $this->suffix = 'xhprof';
}