Code

Updated DAK function name
[gosa.git] / gosa-core / include / functions_helpviewer.inc
index 0be6301638731a2c7fb7c8d187e8d17abbcaa2a6..947489171cfa35dc3889781058b96a1d6ddb2d83 100644 (file)
@@ -63,14 +63,14 @@ function genIndex()
 {
   global $helpobject;
   $str = "";
-  $config = session::get('config');
   $helpobject = session::get('helpobject');
-  $test = new pluglist($config,get_userinfo());
+  $ui= get_userinfo();
+  $test = new pluglist(session::get('config'), $ui);
   $current_hl = "";
   foreach($helpobject['helpconf'] as $id => $attrs){
     $path = $test -> get_path($id);
     $exists = true;
-    $helpdir = "../doc/guide/user/".$helpobject['lang']."/html/".preg_replace("/^.*\//i","",$path)."/";
+    $helpdir = "../doc/core/".$helpobject['lang']."/html/".preg_replace("/^.*\//i","",$path)."/";
     if(!is_dir($helpdir)){
       $exists = false;
     }