| Gwynne Amaya Raskind 2007-06-28, 4:00 am |
| gwynne Thu Jun 28 05:41:42 2007 UTC
Modified files:
/livedocs build.php
Log:
Fix porting bug
http://cvs.php.net/viewvc.cgi/lived...2&diff_format=u
Index: livedocs/build.php
diff -u livedocs/build.php:1.1 livedocs/build.php:1.2
--- livedocs/build.php:1.1 Tue Jun 26 00:10:59 2007
+++ livedocs/build.php Thu Jun 28 05:41:42 2007
@@ -65,7 +65,7 @@
function parse_options() {
// No Console_Getopt, no decent getopt() implementation; just use the old environment vars for now
- define( 'CONFIGURE_PHP_DOC', isset( $_ENV[ 'CONFIGURE_PHP_DOC' ] ) ? $_ENV[ 'CONFIGURE_PHP_DOC' ] : TRUE );
+ define( 'CONFIGURE_PHP_DOC', isset( $_ENV[ 'CONFIGURE_PHP_DOC' ] ) ? ( $_ENV[ 'CONFIGURE_PHP_DOC' ] == 'no' || $_ENV[ 'CONFIGURE_PHP_DOC' ] == 0 ? FALSE : TRUE ) : TRUE );
define( 'PHPDOC_CONFIG_OPTS', isset( $_ENV[ 'PHPDOC_CONFIG_OPTS' ] ) ? $_ENV[ 'PHPDOC_CONFIG_OPTS' ] : '' );
}
@@ -114,7 +114,7 @@
// For debugging:
// sneaky_shell_exec( "xmllint --format \"{$GENDIR}/toc-ugly.xml\" > {$GENDIR}/toc.xml" );
- sneaky_shell_exec( "{$PHP} -f \"{$LIVEDOCS}/mktoc.php\" > \"{$GENDIR}/toc-insert.sql\"" );
+ sneaky_shell_exec( "{$PHP} -f \"{$LIVEDOCS}/mktoc.php\" \"{$GENDIR}/toc-ugly.sql\" > \"{$GENDIR}/toc-insert.sql\"" );
}
buildmsg( "Making index for {$i}: " . date( DATE_RFC2822 ) );
|