mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 10:24:26 +02:00
- bugfix preg_replace could fail on large content resulting in a blank page https://github.com/smarty-php/smarty/issues/417
This commit is contained in:
@@ -97,7 +97,6 @@ class Smarty_Internal_Runtime_CodeFrame
|
||||
if (preg_match('/\s*\?>[\n]?<\?php\s*/', $output)) {
|
||||
$curr_split = preg_split('/\s*\?>[\n]?<\?php\s*/',
|
||||
$output);
|
||||
var_dump($curr_split);
|
||||
preg_match_all('/\s*\?>[\n]?<\?php\s*/',
|
||||
$output,
|
||||
$curr_parts);
|
||||
|
Reference in New Issue
Block a user