You are here

function drush_xhprof_get_dir in XHProf 6

Same name and namespace in other branches
  1. 8 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 137

Code

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