didou Sat Mar 20 13:39:42 2004 EDT
Modified files:
/livedocs mkindex.php
Log:
this was the bug... entities needs to be generated in the database before we start
parsing files
# doh
http://cvs.php.net/diff.php/livedocs/mkindex.php?r1=1.25&r2=1.26&ty=u
Index: livedocs/mkindex.php
diff -u livedocs/mkindex.php:1.25 livedocs/mkindex.php:1.26
--- livedocs/mkindex.php:1.25 Sat Mar 20 06:23:43 2004
+++ livedocs/mkindex.php Sat Mar 20 13:39:42 2004
@@ -19,7 +19,7 @@
// | construct an index |
// +----------------------------------------------------------------------+
//
-// $Id: mkindex.php,v 1.25 2004/03/20 11:23:43 nlopess Exp $
+// $Id: mkindex.php,v 1.26 2004/03/20 18:39:42 didou Exp $
/* just to be on the safe side */
@@ -339,11 +339,12 @@
sqlite_query($idx, $create);
sqlite_query($idx, 'BEGIN TRANSACTION');
+$replacements = scan_entities($PHPDOC . DIRECTORY_SEPARATOR . $entities_dir);
+
foreach ($top_files as $top_file) {
parse_file($PHPDOC . DIRECTORY_SEPARATOR . $top_file, $top_file, 0);
}
-$replacements = scan_entities($PHPDOC . DIRECTORY_SEPARATOR . $entities_dir);
scan_dir($PHPDOC . DIRECTORY_SEPARATOR . $LANG);