diff --git a/gosa-core/include/functions_helpviewer.inc b/gosa-core/include/functions_helpviewer.inc
index 0be6301638731a2c7fb7c8d187e8d17abbcaa2a6..947489171cfa35dc3889781058b96a1d6ddb2d83 100644 (file)
{
global $helpobject;
$str = "";
{
global $helpobject;
$str = "";
- $config = session::get('config');
$helpobject = session::get('helpobject');
$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;
$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;
}
if(!is_dir($helpdir)){
$exists = false;
}