Dotclear


Ignore:
Timestamp:
07/29/13 14:54:58 (12 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
2.5
Message:

Set cache age to 1 week by default or to DC_CACHE_MAX_AGE if defined in config.php for plugin's files. Thank's for that suggestion Khaos Farbauti Ibn Oblivion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/load_plugin_file.php

    r1179 r1241  
    8686} 
    8787 
    88 http::$cache_max_age = 7200; 
     88http::$cache_max_age = (!defined('DC_CACHE_MAX_AGE') ? 604800 : DC_CACHE_MAX_AGE); 
    8989http::cache(array_merge(array($PF),get_included_files())); 
    9090 
Note: See TracChangeset for help on using the changeset viewer.

Sites map