Browse Source

Restoring $_configuration['url_append'] now is set in global.inc.php and does not depends in the user

Julio Montoya 12 years ago
parent
commit
6a12538a5e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/inc/lib/main_api.lib.php

+ 1 - 1
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;