~ubuntu-branches/ubuntu/lucid/smarty/lucid

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Nick Ellery
  • Date: 2008-12-27 12:57:51 UTC
  • mfrom: (0.1.9 upstream) (6.2.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20081227125751-6jzkf18bqv5tc8te
Tags: 2.6.22-1ubuntu1
* Merge from debian unstable, remaining changes (LP: #311806):
  - debian/Makefile: Modified so libs will be installed to correct directory.

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
    if (!empty($smarty->cache_handler_func)) {
69
69
        // use cache_handler function
70
70
        call_user_func_array($smarty->cache_handler_func,
71
 
                             array('write', &$smarty, &$params['results'], $params['tpl_file'], $params['cache_id'], $params['compile_id'], null));
 
71
                             array('write', &$smarty, &$params['results'], $params['tpl_file'], $params['cache_id'], $params['compile_id'], $smarty->_cache_info['expires']));
72
72
    } else {
73
73
        // use local cache file
74
74