LMPX.COM |
Home | Linux | Mysql | PHP | XML | ||
|
|
|||
From: TAKAGI Masahiro Date: Mon Aug 27 21:10:09 2007 Subject: Smarty-web: broken contents (ja, fr)
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@php.net
| Navigate in group php.smarty.dev at sever news.php.net | |
| Previous | Next |
| © No Copyright You are free to use Anything |
Site Maintained by PHP Developer
Powered By PHP Consultants |