Code

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2100 594d385d-05f5-0310...
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 28 Nov 2005 11:41:46 +0000 (11:41 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 28 Nov 2005 11:41:46 +0000 (11:41 +0000)
html/helpviewer.php

index 93a3b7d6955c53003a45694ffbd01cd70176479b..0f0c168056de74dfed575d2165427495deae466c 100644 (file)
@@ -1,5 +1,4 @@
 <?php
-error_reporting(0);
 /*
    This code is part of GOsa (https://gosa.gonicus.de)
    Copyright (C) 2003  Cajus Pollmeier, Fabian Hickert
@@ -20,10 +19,11 @@ error_reporting(0);
  */
 
 /* Include classes and configs */
-require_once ("../include/php_setup.inc");
-require_once ("functions.inc");
-require_once ("functions_helpviewer.inc");
+@require_once ("../include/php_setup.inc");
+@require_once ("functions.inc");
+@require_once ("functions_helpviewer.inc");
 
+error_reporting(0);
 header("Content-type: text/html; charset=UTF-8");
 session_start();
 
@@ -117,7 +117,7 @@ if(isset($_SESSION['current_class_for_help'])){
     unset($_SESSION['current_class_for_help']);
     exit();  
   }
-  
   /* Save filename */
   $helpobject['file']= $str[($_SESSION['current_class_for_help'])]['FILE'];