Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

cvs: livedocs / config.php.in pregenerate.php
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/livedoc...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/livedoc....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@');

Report this thread to moderator Post Follow-up to this message
Old Post
Ilia Alshanetsky
07-30-04 08:56 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Documentation archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:30 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.