summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3fbe198)
raw | patch | inline | side by side (parent: 3fbe198)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 22 May 2006 10:21:14 +0000 (10:21 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 22 May 2006 10:21:14 +0000 (10:21 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3487 594d385d-05f5-0310-b6e9-bd551577e9d8
html/helpviewer.php | patch | blob | history | |
include/functions_helpviewer.inc | patch | blob | history |
diff --git a/html/helpviewer.php b/html/helpviewer.php
index a5710b20257a77fb3f65f78b4d7ffdb6b3dd458d..1a68eb4a6b0ea587200ade3fc1eef9df6e632d63 100644 (file)
--- a/html/helpviewer.php
+++ b/html/helpviewer.php
error_reporting(0);
header("Content-type: text/html; charset=UTF-8");
+
session_start();
+$ui= $_SESSION["ui"];
$config= $_SESSION['config'];
/* If no config object is found in the session, abort help */
index 579ede3316eb7659ae8a5be9a3890d60817dfc46..64d256a180f1779b2e000be2db1aa7620d7bc25b 100644 (file)
$exists = true;
$helpdir = "../doc/guide/user/".$helpobject['lang']."/html/".preg_replace("/^.*\//i","",$path)."/";
if(!is_dir($helpdir)){
- $helpdir = "../doc/guide/user/en/html/".preg_replace("/^.*\//i","",$path)."/";
- if(!is_dir($helpdir)){
- $exists = false;
- }
+ $exists = false;
}
$print_hl = false;
if($current_hl != $attrs['HEADLINE']){