You are here

function drush_xhprof_get_dir in XHProf 8

Same name and namespace in other branches
  1. 6 xhprof.drush.inc \drush_xhprof_get_dir()
  2. 7 xhprof.drush.inc \drush_xhprof_get_dir()
3 calls to drush_xhprof_get_dir()
drush_xhprof_clear in ./xhprof.drush.inc
A command callback.
drush_xhprof_get_runs in ./xhprof.drush.inc
drush_xhprof_list_run_files in ./xhprof.drush.inc

File

./xhprof.drush.inc, line 139

Code

function drush_xhprof_get_dir() {
  $dir = ini_get("xhprof.output_dir");
  return !empty($dir) && is_dir($dir) ? $dir : sys_get_temp_dir();
}