Changeset 39923 in spip-zone


Ignore:
Timestamp:
Aug 18, 2010, 10:25:43 PM (11 years ago)
Author:
fil@…
Message:

fastcache a besoin de connaitre la configuration du plugin memoization

Location:
_plugins_/fastcache
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/fastcache/creer_fastcache.php

    r32731 r39923  
    2525
    2626        $memoization = var_export(find_in_path('inc/memoization.php'), true);
     27        $cfg_memoization = var_export($GLOBALS['meta']['memoization'], true);
    2728
    2829        $contenu = '<'.'?php' .
     
    4041@define ('_FC_COOKIE_PREFIX', $prefix);
    4142@define ('_FC_MEMOIZATION', $memoization);
     43@define ('_FC_CFG_MEMOIZATION', $cfg_memoization);
    4244
    4345CONFIG
  • _plugins_/fastcache/fastcache.php

    r32731 r39923  
    2828}
    2929
    30 if (defined('_FC_KEY'))
     30if (defined('_FC_KEY')) {
     31        $GLOBALS['meta']['memoization'] = _FC_CFG_MEMOIZATION;
    3132        require_once _FC_MEMOIZATION;
     33}
    3234
    3335if (defined('_FC_KEY')
Note: See TracChangeset for help on using the changeset viewer.