From 6a12538a5e3e2bb8ba8c34a3c02fecddf4d74f77 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Wed, 24 Apr 2013 14:03:43 +0200 Subject: [PATCH] Restoring $_configuration['url_append'] now is set in global.inc.php and does not depends in the user --- main/inc/lib/main_api.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/inc/lib/main_api.lib.php b/main/inc/lib/main_api.lib.php index 7228b4a3ba..b4124396ba 100644 --- a/main/inc/lib/main_api.lib.php +++ b/main/inc/lib/main_api.lib.php @@ -572,7 +572,7 @@ function api_get_path($path_type, $path = null) { } if (!$is_this_function_initialized) { - $root_rel = "/".basename($root_sys); + $root_rel = $_configuration['url_append']; $code_folder = 'main/'; //$course_folder = isset($_configuration['course_folder']) ? $_configuration['course_folder'] : null;