~ubuntu-branches/ubuntu/gutsy/smarty/gutsy-security

« back to all changes in this revision

Viewing changes to libs/internals/core.read_cache_file.php

  • Committer: Bazaar Package Importer
  • Author(s): Igor Genibel
  • Date: 2005-11-02 19:08:30 UTC
  • mfrom: (0.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20051102190830-8jm4nqv2fivcq9si
Tags: 2.6.10-0.2
* Non-maintainer upload (with maintainer permission: 0-day NMU).
* Change Maintainer address

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
        }
91
91
    }
92
92
 
93
 
    foreach ($_cache_info['cache_serials'] as $_include_file_path=>$_cache_serial) {
94
 
        if (empty($smarty->_cache_serials[$_include_file_path])) {
95
 
            $smarty->_include($_include_file_path, true);
96
 
        }
97
 
 
98
 
        if ($smarty->_cache_serials[$_include_file_path] != $_cache_serial) {
99
 
            /* regenerate */
100
 
            return false;
101
 
        }
102
 
    }
103
93
    $content_cache[$params['tpl_file'].','.$params['cache_id'].','.$params['compile_id']] = array($params['results'], $_cache_info);
104
94
 
105
95
    $smarty->_cache_info = $_cache_info;