cvs: phpdoc /htmlhelp filter_files.php
| From: | anatoly techtonik | Date: | Fri, 24 Jun 2005 09:15:31 +0000 |
| Subject: | cvs: phpdoc /htmlhelp filter_files.php | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969368831@lists.php.net to get a copy of this message | ||
techtonik Fri Jun 24 05:15:31 2005 EDT
Modified files:
/phpdoc/htmlhelp filter_files.php
Log:
+ die if called without required parameters (i.e. not from make_chm.php)
http://cvs.php.net/diff.php/phpdoc/htmlhelp/filter_files.php?r1=1.14&r2=1.15&ty=u
Index: phpdoc/htmlhelp/filter_files.php
diff -u phpdoc/htmlhelp/filter_files.php:1.14 phpdoc/htmlhelp/filter_files.php:1.15
--- phpdoc/htmlhelp/filter_files.php:1.14 Tue Jun 21 09:17:21 2005
+++ phpdoc/htmlhelp/filter_files.php Fri Jun 24 05:15:31 2005
@@ -1,4 +1,4 @@
-<?php // $Id: filter_files.php,v 1.14 2005/06/21 13:17:21 nlopess Exp $
+<?php // $Id: filter_files.php,v 1.15 2005/06/24 09:15:31 techtonik Exp $
/*
This file is part of the Windows Compiled HTML Help
@@ -9,6 +9,10 @@
be converted to XSL templates, but not all.
*/
+if (!isset($HTML_SRC)) {
+ die("This script is called from make_chm.php to filter output from XSL DocBook
templates");
+}
+
$counter = filterFiles();
// Filter XSL generated files through some refine filters