Uwe.Tews
f7fd63e890
- improved speed of cache->clear() when a compile_id was specified and use_sub_dirs is true
2010-06-21 20:10:22 +00:00
Uwe.Tews
4e27b70ba5
- bugfix in $smarty->cache->clear() method. (do not cache template object)
2010-04-27 17:47:24 +00:00
Uwe.Tews
d89e53c2f6
- bugfix make $smarty->cache->clear() function independent from caching status
2010-03-17 17:37:32 +00:00
Uwe.Tews
9f5d885835
- avoid possible notice on $smarty->cache->clear(...), $smarty->clear_cache(....)
2010-02-10 18:00:41 +00:00
Uwe.Tews
24141e81dd
- bugfix use template fullpath at §smarty->cache->clear(...), $smarty->clear_cache(....)
2010-02-08 21:04:43 +00:00
Uwe.Tews
d287c6b1d9
- bugfix sha1() calculations at extends resource and some general improvments on sha1() handling
2010-01-05 21:10:25 +00:00
Uwe.Tews
4519218f04
- update cached_timestamp at the template object after cache file is written to avoid possible side effects
...
- use internally always SMARTY_CACHING_LIFETIME_* constants
2010-01-02 12:15:04 +00:00
Uwe.Tews
67641b63e8
- fixed cache filename for custom resources
2009-12-29 23:46:31 +00:00
Uwe.Tews
d1969d6f56
- use sha1() for filepath encoding
...
- updates on nocache_hash handling
2009-12-29 20:12:11 +00:00
Uwe.Tews
36da15cee8
- update of getCachedTimestamp()
2009-12-27 19:12:51 +00:00
Uwe.Tews
44dd7830dd
--- this is a major update with a couple of internal changes ---
...
- new config file lexer/parser (thanks to Thue Jnaus Kristensen)
- template lexer/parser fixes for PHP and {literal} handing (thanks to Thue Jnaus Kristensen)
- fix on registered plugins with different type but same name
- rewrite of plugin handling (optimized execution speed)
- closed a security hole regarding PHP code injection into cache files
- fixed bug in clear cache handling
- Renamed a couple of internal classes
- code cleanup for merging compiled templates
- couple of runtime optimizations (still not all done)
2009-12-27 15:06:49 +00:00
Uwe.Tews
aaa7b8f245
- bugfix of parent/global variable update at included/merged subtemplates
...
- encode final template filepath into filename of compiled and cached files
2009-12-17 16:58:44 +00:00
Uwe.Tews
4925a98949
- suppress warnings on unlink caused by race conditions
...
- correct line number on unknown tag error message
2009-11-23 22:31:22 +00:00
Uwe.Tews
a63bc0f83b
- sanitize compile_id and cache_id (replace illegal chars with _)
...
- use _dir_perms and _file_perms properties at file creation
- new constant SMARTY_RESOURCE_DATE_FORMAT (default '%b %e, %Y') which is used as default format in modifier date_format
2009-11-17 17:46:03 +00:00
Uwe.Tews
94b80e892b
- renamed function names of autoloaded Smarty methods to Smarty_Method_....
...
- new security_class property (default is Smarty_Security)
2009-11-03 20:38:38 +00:00
Uwe.Tews
cf379474fd
- change of filenames in sysplugins folder for internal spl_autoload function
...
- lexer/parser changed for increased compilation speed
2009-10-31 00:44:58 +00:00