Code

85f8ff6b3f525e27656d41bf3a1ffcd6b266667b
[gosa.git] / gosa-core / redhat / 04_fix_online_help_location.patch
1 diff -urNad gosa-core~/html/helpviewer.php gosa-core/html/helpviewer.php
2 --- gosa-core~/html/helpviewer.php      2008-04-12 19:58:14.000000000 +0200
3 +++ gosa-core/html/helpviewer.php       2008-04-14 17:25:10.000000000 +0200
4 @@ -110,7 +110,7 @@
5  if(session::is_set('current_class_for_help')){
6  
7    /* Create new XML parser with the path to the Xml file */
8 -  $xml = new parseXml("../doc/guide.xml");
9 +  $xml = new parseXml("/etc/gosa/guide.xml");
10    
11    /* Generate help array */
12    $str = $xml->parse();
13 diff -urNad gosa-core~/update-gosa gosa-core/update-gosa
14 --- gosa-core~/update-gosa      2008-04-14 14:59:22.000000000 +0200
15 +++ gosa-core/update-gosa       2008-04-14 17:24:53.000000000 +0200
16 @@ -193,7 +193,7 @@
17  
18  function rescan_guide()
19  {
20 -       $master_guide= "doc/guide.xml";
21 +       $master_guide= "/etc/gosa/guide.xml";
22         echo "Updating Online Help Index...\n";
23         $master_guide_content="<?xml version=\"1.0\"?>\n".
24                 "<!--\n".