Commit Graph

10 Commits

Author SHA1 Message Date
uwe.tews@googlemail.com
12e8593760 - improvement add internal $joined_template_dir property instead computing it on the fly several times 2011-10-03 19:02:44 +00:00
rodneyrehm
aff7c6a0ab - improvement replaced most in_array() calls by more efficient isset() on array_flip()ed haystacks
- added notes on possible performance optimization/problem with Smarty_Security
2011-10-01 18:10:48 +00:00
rodneyrehm
d0228e96ea - removed internal muteExpectedErrors() calls in favor of having the implementor call this once from his application
- optimized muteExpectedErrors() to pass errors to the latest registered error handler, if appliccable

error muting is now a global thing. this was done because of the overhead set_error_handler imposes and the fact, that only a few people really "need" this. 

The decision was made by uwe.tews and rodneyrehm. (just in case anyone asks…)
2011-09-24 12:56:52 +00:00
uwe.tews@googlemail.com
50a8f805dd - remove unused properties
- optimization use real function instead anonymous function for preg_replace_callback
- bugfix a relative {include} in child template blocks failed
- bugfix direct setting of $template_dir, $config_dir, $plugins_dir in __construct() of an 
  extended Smarty class created problems
2011-09-23 20:21:16 +00:00
rodneyrehm
48295d9573 - reverted ./ and ../ handling in fetch() and display() - they're allowed again 2011-09-21 23:06:27 +00:00
rodneyrehm
7a6b9dba91 - added $error_muting to suppress error messages even for badly implemented error_handlers
- reverted r4301
2011-09-21 22:02:54 +00:00
rodneyrehm
2df84e24a6 - bugfix relative paths in $template_dir broke relative path resolving in {include "../foo.tpl"} 2011-09-20 14:12:34 +00:00
rodneyrehm
c9be9cd7f9 - bugfix lock_id for file resource would create invalid filepath
- bugfix resource caching did not care about file.tpl in different template_dir
- added svn:ignore where necessary
2011-09-17 16:29:10 +00:00
uwe.tews@googlemail.com
00d45f4d3f - bugfix reverted resource caching as it could not detect template_dir changes 2011-09-16 22:31:34 +00:00
monte.ohrt
8842e79107 commit 3.1 into the trunk 2011-09-16 14:19:56 +00:00