[PHP-DOC] cvs: phpdoc / make_chm_fancy.php From: Thomas Schöfbeck (Yin.Yang <email protected>)
Date: 06/24/01

tom Sun Jun 24 18:17:23 2001 EDT

  Modified files:
    /phpdoc make_chm_fancy.php
  Log:
  looks now directly in lang-dir for the fancy-index
  
Index: phpdoc/make_chm_fancy.php
diff -u phpdoc/make_chm_fancy.php:1.5 phpdoc/make_chm_fancy.php:1.6
--- phpdoc/make_chm_fancy.php:1.5 Sun Jun 3 19:14:23 2001
+++ phpdoc/make_chm_fancy.php Sun Jun 24 18:17:23 2001
@@ -17,8 +17,13 @@
   }
   closedir($handle);
   
+ // 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"));
+
+
   // make GENTIME the actual date/time
- $content = join("", file("make_chm_index_$language.html"));
   $content = preg_replace("/\\[GENTIME\\]/", date("D M d H:i:s Y"), $content);
   $fp = fopen("$fancydir/fancy-index.html", "w");
   fputs($fp, $content);