diff --git a/xhprof_lib/utils/xhprof_runs.php b/xhprof_lib/utils/xhprof_runs.php index 2a22a5dc..9cb68218 100644 --- a/xhprof_lib/utils/xhprof_runs.php +++ b/xhprof_lib/utils/xhprof_runs.php @@ -92,7 +92,7 @@ public function __construct($dir = null) { // in which the error_log file resides. if (empty($dir)) { - $dir = ini_get("xhprof.output_dir"); + $dir = get_cfg_var("xhprof.output_dir"); if (empty($dir)) { $dir = sys_get_temp_dir();