Smarty-web: broken contents (ja, fr)

View: New views
1 Messages — Rating Filter:   Alert me  

Smarty-web: broken contents (ja, fr)

by TAKAGI Masahiro :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Please take a look at the following pages.

- http://smarty.php.net/manual/ja/language.function.section.php
- http://smarty.php.net/manual/fr/language.function.section.php

They don't have the common header and sidebar. It seems that
'smarty/docs/scripts/generate_web.php' does not work appropriately
due to PCRE's backtracking limit.

If you are using PHP 5.2.x to build smarty-web, the following patch will
fix it.

Index: docs/scripts/generate_web.php
===================================================================
RCS file: /repository/smarty/docs/scripts/generate_web.php,v
retrieving revision 1.6
diff -u -r1.6 generate_web.php
--- docs/scripts/generate_web.php       21 Jun 2004 10:37:52 -0000      1.6
+++ docs/scripts/generate_web.php       28 Aug 2007 00:52:50 -0000
@@ -21,6 +21,7 @@
   $Id: generate_web.php,v 1.6 2004/06/21 10:37:52 messju Exp $
 */

+ini_set('pcre.backtrack_limit', 150000);
 set_time_limit(0);

 $search = array(

--
TAKAGI Masahiro mailto:takagi@...

--
Smarty Development Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php