mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 11:24:27 +02:00
- enhancement added constant SMARTY::CLEAR_EXPIRED for the change of 26.05.2013 (forum topic 24310)
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
===== trunk =====
|
===== trunk =====
|
||||||
17.06.2013
|
17.06.2013
|
||||||
- fixed spelling in sources and documentation (from smarty-developers forum Veres Lajos)
|
- fixed spelling in sources and documentation (from smarty-developers forum Veres Lajos)
|
||||||
|
- enhancement added constant SMARTY::CLEAR_EXPIRED for the change of 26.05.2013 (forum topic 24310)
|
||||||
|
|
||||||
26.05.2013
|
26.05.2013
|
||||||
- enhancement an expire_time of -1 in clearCache() and clearAllCache() will delete outdated cache files
|
- enhancement an expire_time of -1 in clearCache() and clearAllCache() will delete outdated cache files
|
||||||
|
@@ -128,6 +128,11 @@ class Smarty extends Smarty_Internal_TemplateBase {
|
|||||||
const CACHING_OFF = 0;
|
const CACHING_OFF = 0;
|
||||||
const CACHING_LIFETIME_CURRENT = 1;
|
const CACHING_LIFETIME_CURRENT = 1;
|
||||||
const CACHING_LIFETIME_SAVED = 2;
|
const CACHING_LIFETIME_SAVED = 2;
|
||||||
|
/**
|
||||||
|
* define constant for clearing cache files be saved expiration datees
|
||||||
|
*/
|
||||||
|
const CLEAR_EXPIRED = -1;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* define compile check modes
|
* define compile check modes
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user