From 0bd9f57c906a33f92d9351f492368d23bf199d8d Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Wed, 28 Aug 2013 01:19:21 -0500 Subject: [PATCH] Fixed xhprof inclusion of chamilo api - refs #6640 --- tests/xhprof/footer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/xhprof/footer.php b/tests/xhprof/footer.php index ea34878e3b..6237adad50 100644 --- a/tests/xhprof/footer.php +++ b/tests/xhprof/footer.php @@ -13,7 +13,7 @@ if (extension_loaded('xhprof')) { $run_id = $xhprof_runs->save_run($xhprof_data, $profiler_namespace); // url to the XHProf UI libraries (change the host name and path) - require_once __DIR__.'/../../main/inc/lib/main_api.lib.php'; + require_once __DIR__.'/../../main/inc/lib/api.lib.php'; $url = api_get_path(WEB_PATH); $profiler_url = sprintf($url.'tests/xhprof/xhprof_html/index.php?run=%s&source=%s', $run_id, $profiler_namespace); $xhprof = '
xhprof profiler output

';