From 253090baee72b86a83c34284c7d0194c603471b8 Mon Sep 17 00:00:00 2001 From: Ivan Tcholakov Date: Tue, 10 Feb 2009 23:30:43 +0100 Subject: [PATCH] [svn r18426] FS#3624 - Learning path toor: Fixing the course homepage link (unification). --- main/newscorm/lp_controller.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/newscorm/lp_controller.php b/main/newscorm/lp_controller.php index d86ce7cd23..b1513c5d9c 100644 --- a/main/newscorm/lp_controller.php +++ b/main/newscorm/lp_controller.php @@ -819,7 +819,8 @@ switch($action) $list = $_SESSION['oLP']->get_flat_ordered_items_list($lp_id); $user_id = api_get_user_id(); $stats_charset = $_SESSION['oLP']->encoding; - header('location: ../course_home/course_home.php?'.api_get_cidreq()); + //header('location: ../course_home/course_home.php?'.api_get_cidreq()); // This is not the preferable way to go to the homepage. + header('location: '.api_get_path(WEB_COURSE_PATH).api_get_course_path().'/index.php'); } break; case 'search':