Smarty-web: broken contents (ja, fr)
[email protected] ("TAKAGI Masahiro") Tue, 28 Aug 2007 12:10:09 +0900
| Newsgroups | php.smarty.dev |
|---|---|
| Message-ID | <[email protected]> |
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:[email protected]