Changeset 2217 for trunk/include/template.class.php
- Timestamp:
- Feb 27, 2008, 4:15:31 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/template.class.php
r2216 r2217 246 246 $is_new = true; 247 247 $params = array('resource_name' => $this->files[$handle], 'quiet'=>true, 'get_source'=>true); 248 if ( $this->smarty->_fetch_resource_info( &$params) )248 if ( $this->smarty->_fetch_resource_info($params) ) 249 249 { 250 250 if (!preg_match('~{(/(if|section|foreach))|\$[a-zA-Z_]+}~', @$params['source_content']) )
Note: See TracChangeset
for help on using the changeset viewer.