it tells me that I have to make the change here.
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in
/var/home/cetemsco/public_html/Web/include/smarty/Smarty_Compiler.class.php on line 270
$source_content = preg_replace_callback($search.'e', "'"
. $this->_quote_replac
($this->left_delimiter) . 'php'
. "' . str_repeat(\"\n\", substr_count('\\0', \"\n\")) .'"
. $this->_quote_replace($this->right_delimiter)
. "'"
, $source_content);
My Answer:
function($matches) {
return eval($matches[1]);
}, $source_content);
Rate this post
3 of 5 based on 5375 votesComments