aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlaurent.duretz <laurent.duretz@piwigo.org>2011-09-06 14:44:15 +0000
committerlaurent.duretz <laurent.duretz@piwigo.org>2011-09-06 14:44:15 +0000
commit5fdf14a078014372f75b33ac81a016b2a66b9633 (patch)
tree3851ea783c5e34f3ac5c84e07eddd7d454fa1e2e
parent3e5dcaec941dd0b47571a45b7f10de530279fe10 (diff)
Issue 2433 : resizing of php.ini parameter pcre.backtrack_limit for remote site synchronisation
git-svn-id: http://piwigo.org/svn/branches/2.2@12066 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--include/functions_xml.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions_xml.inc.php b/include/functions_xml.inc.php
index be16c5d23..49de7c779 100644
--- a/include/functions_xml.inc.php
+++ b/include/functions_xml.inc.php
@@ -118,7 +118,7 @@ function getXmlCode( $filename )
if (function_exists('ini_set'))
{
// limit must be growed with php5 and "big" listing file
- ini_set("pcre.backtrack_limit", pow(2, 32));
+ ini_set("pcre.backtrack_limit", pow(2, 31));
}
if (!fetchRemote($filename, $xml_content))