cvs: phpdoc / make_chm_fancy.php
| From: | Thomas Sch�fbeck | Date: | Sun, 24 Jun 2001 16:17:23 +0000 |
| Subject: | cvs: phpdoc / make_chm_fancy.php | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969335601@lists.php.net to get a copy of this message | ||
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);