derick          Sun Mar 17 11:37:50 2002 EDT

  Modified files:              
    /phpdoc/chm make_chm_fancy.php 
  Log:
  - Fix index pages for CHM
  
  
Index: phpdoc/chm/make_chm_fancy.php
diff -u phpdoc/chm/make_chm_fancy.php:1.1 phpdoc/chm/make_chm_fancy.php:1.2
--- phpdoc/chm/make_chm_fancy.php:1.1   Mon Jan  7 18:20:34 2002
+++ phpdoc/chm/make_chm_fancy.php       Sun Mar 17 11:37:49 2002
@@ -31,7 +31,9 @@
 // Look for CHM index file (snap-downloader, cvs-usr with/without lang-support) 
 if (false == ($content = join("", @file("make_chm_index_$language.html")))) {
     if (false == ($content = join("", 
@file("$language/make_chm_index_$language.html")))) {
-        $content = join("", @file("en/make_chm_index_en.html"));
+               if (false == ($content = join("", 
+@file("$htmldir/../$language/make_chm_index_$language.html")))) {
+                       $content = join("", @file("en/make_chm_index_en.html"));
+               }
     }
 }
 


Reply via email to