diff --git a/xhprof_lib/utils/xhprof_runs.php b/xhprof_lib/utils/xhprof_runs.php index 2a22a5dc..cf43edb4 100644 --- a/xhprof_lib/utils/xhprof_runs.php +++ b/xhprof_lib/utils/xhprof_runs.php @@ -151,7 +151,8 @@ function list_runs() { $files = glob("{$this->dir}/*.{$this->suffix}"); usort($files, create_function('$a,$b', 'return filemtime($b) - filemtime($a);')); foreach ($files as $file) { - list($run,$source) = explode('.', basename($file)); + $path_parts = pathinfo($file); + list($run,$source) = explode('.', $path_parts["filename"], 2); echo '
  • '