iliaa Fri Jul 30 11:52:08 2004 EDT
Modified files: /livedocs pregenerate.php config.php.in Log: Allow pregenerate script to force generation of html links. http://cvs.php.net/diff.php/livedocs/pregenerate.php?r1=1.4&r2=1.5&ty=u Index: livedocs/pregenerate.php diff -u livedocs/pregenerate.php:1.4 livedocs/pregenerate.php:1.5 --- livedocs/pregenerate.php:1.4 Thu May 27 18:21:28 2004 +++ livedocs/pregenerate.php Fri Jul 30 11:52:08 2004 @@ -8,6 +8,9 @@ //apd_set_pprof_trace(); +/* we are generating static pages, so links should point to .html pages */ +define('FORCE_DYNAMIC', 0); + define('LIVEDOC_SOURCE', dirname(__FILE__)); include LIVEDOC_SOURCE . '/livedoc_funcs.php'; http://cvs.php.net/diff.php/livedocs/config.php.in?r1=1.9&r2=1.10&ty=u Index: livedocs/config.php.in diff -u livedocs/config.php.in:1.9 livedocs/config.php.in:1.10 --- livedocs/config.php.in:1.9 Sat May 1 15:58:13 2004 +++ livedocs/config.php.in Fri Jul 30 11:52:08 2004 @@ -19,12 +19,14 @@ // | the ./configure call | // +----------------------------------------------------------------------+ // -// $Id: config.php.in,v 1.9 2004/05/01 19:58:13 nlopess Exp $ +// $Id: config.php.in,v 1.10 2004/07/30 15:52:08 iliaa Exp $ define('FALLBACK_LANG', 'en'); define('PHPDOC', '@PHPDOCFORPHP@'); define('OUTPUTDIR', '@OUTPUTDIRFORPHP@'); -define('FORCE_DYNAMIC', @FORCE_DYNAMIC@); +if (!defined('FORCE_DYNAMIC')) { // could already be defined by pregenerate.php + define('FORCE_DYNAMIC', @FORCE_DYNAMIC@); +} define('WEBBASE', '@WEBBASE@'); define('LANGUAGES', '@LANGUAGES@'); define('THEME_NAME', '@THEMENAME@');