mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
fix preg_quote
This commit is contained in:
@@ -228,8 +228,8 @@ class Smarty_Compiler extends Smarty {
|
|||||||
|
|
||||||
$this->_current_file = $resource_name;
|
$this->_current_file = $resource_name;
|
||||||
$this->_current_line_no = 1;
|
$this->_current_line_no = 1;
|
||||||
$ldq = preg_quote($this->left_delimiter, '!');
|
$ldq = preg_quote($this->left_delimiter, '~');
|
||||||
$rdq = preg_quote($this->right_delimiter, '!');
|
$rdq = preg_quote($this->right_delimiter, '~');
|
||||||
|
|
||||||
// run template source through prefilter functions
|
// run template source through prefilter functions
|
||||||
if (count($this->_plugins['prefilter']) > 0) {
|
if (count($this->_plugins['prefilter']) > 0) {
|
||||||
|
Reference in New Issue
Block a user