mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
- smarty for more mail templates/css
git-svn-id: http://piwigo.org/svn/trunk@2285 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -269,7 +269,7 @@ class Template {
|
||||
$params = array('resource_name' => $this->files[$handle], 'quiet'=>true, 'get_source'=>true);
|
||||
if ( $this->smarty->_fetch_resource_info($params) )
|
||||
{
|
||||
if (!preg_match('~{(/(if|section|foreach))|\$[a-zA-Z_]+}~', @$params['source_content']) )
|
||||
if (!preg_match('~{(/(if|section|foreach))|ldelim|\$[a-zA-Z_]+}~', @$params['source_content']) )
|
||||
$is_new = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user