mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
if search-regexp.
some pages (html_select_date, popup and popup_init) didn't get the body replaced correctly.
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
set_time_limit(0);
|
set_time_limit(0);
|
||||||
|
|
||||||
$search = array(
|
$search = array(
|
||||||
'/(<HTML.*<META.*HTTP-EQUIV="Content-type".*charset=(.*)".*<BODY[^>]+>)/mSs',
|
'/(<HTML.*<META.*HTTP-EQUIV="Content-type".*charset=(.*?)".*?<BODY[^>]+>)/mSs',
|
||||||
'/(<\/BODY\s*><\/HTML\s*>)/mS'
|
'/(<\/BODY\s*><\/HTML\s*>)/mS'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user