Ignore:
Timestamp:
Feb 27, 2008, 4:15:31 AM (16 years ago)
Author:
rvelices
Message:
  • works with PHP5
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/template.class.php

    r2216 r2217  
    246246    $is_new = true;
    247247    $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) )
    249249    {
    250250      if (!preg_match('~{(/(if|section|foreach))|\$[a-zA-Z_]+}~', @$params['source_content']) )
Note: See TracChangeset for help on using the changeset viewer.