Commit Graph

893 Commits

Author SHA1 Message Date
messju
3cd25264cf unrolled call to the is_compiled()-check to be able to supply the
correct resource_base_path for config_load. this avoids errors when
config-files are accessed where security is enabled.

thanks to shuther for pointing out this bug.
2004-03-23 09:49:23 +00:00
messju
840b968bab removed merging of $smarty->template_dir into $smarty->secure_dir
the resource_base_path is considerd secure instead. this change should
have absolutely no impact on smarty's security's behaviour
2004-03-18 19:36:36 +00:00
messju
5a37e025ae moved setting of a default resource_base_path from
Smarty::_parse_resource_name() to Smarty::_fetch_resource_info()

this shouldn't affect anything, since all calls to
_parse_resource_name() that are not done from within
_fetch_resource_info() all pass their own resource_base_path
2004-03-18 07:05:29 +00:00
messju
d271bced39 removed '.' from the list of default resource_base_paths in
_parse_resource_name()

this should only affect _parse_resource_name() for templates, not for
php-resources and not for config_files. the latter pass two their own
resource_base_path.
2004-03-17 15:32:10 +00:00
messju
2b341888a3 simplified Smarty::clear_all_cache(); 2004-03-15 14:50:42 +00:00
messju
725da561e5 fixed little bug that prevented plugins filepaths that are found in
php's include_path (and not in one of the plugins_dirs) from being
cached in the internal plugins-filepath-cache
2004-03-11 18:16:29 +00:00
messju
077b7e7865 _parse_resource_name() returned true on non-existant absolute
paths. This caused a warning on _fetch_resource_info() when used in
conjunction with template_exists(). It should be fixed now without
negative effects.
2004-02-24 22:23:13 +00:00
messju
2c2c8b12b9 smarty_resource_*_secure got &$smarty passed errornously as 3rd
parameter and not as 2nd. this is fixed.
2004-02-24 00:10:55 +00:00
messju
d02633999c fixed handling of integer-attributes 2004-02-23 23:17:19 +00:00
messju
fff19de349 updated version to 2.6.3-dev 2004-02-23 23:14:40 +00:00
messju
c3c3430e71 removed notice on html_select_date with the month_empty-attribute 2004-02-22 23:29:08 +00:00
messju
4610c06d24 removed 2 notices of undefined vars (thanks Cit) 2004-02-22 23:18:30 +00:00
mohrt
cf52c81e0a change some info in headers, remove fluff 2004-02-17 15:52:02 +00:00
messju
0548fee520 correctly handle partially empty dates (like "2004--" or "-12-"). 2004-02-13 23:38:08 +00:00
messju
b474404b97 YES and NO should not be booleanized inside triple-quotes in a
config-file. this behaviour changed by accident in 2.6.1 and is now
reverted to pre-2.6.1 behaviour
2004-02-12 11:28:50 +00:00
messju
44e8612db1 fixed slurping of a the next line following a triple-quoted value in a
config-file
2004-02-10 22:58:49 +00:00
messju
ceea2e18d5 avoid @-operator for handling empty lines in Config_File.class.php 2004-02-07 21:15:29 +00:00
messju
7703839dbb removed two notices from Smarty_Compiler::_parse_is_expr()
(thanks shuther!)
2004-02-07 20:55:27 +00:00
messju
ef24ac0a3f changed default for use_sub_dirs to false 2004-02-07 20:29:20 +00:00
messju
7e6807b7e5 removed notice of undefined variable. (thanks shuther!) 2004-02-07 20:15:45 +00:00
messju
607cf5d0f4 added file and line-number-information to error-messages regarding
assigned objects an an error messages regarding modifiers with
security.
2004-01-29 10:38:12 +00:00
messju
0f223e3e18 removed use of temporary var $_params in compiled code of block-plugins 2004-01-27 23:00:26 +00:00
messju
aa2a705361 fixed quoting of values in smarty_function_popup() 2004-01-27 22:55:41 +00:00
messju
53baf8295a Smarty_Compiler::_syntax_error() uses Smarty::_trigger_fatal_error() now instead of the trigger_error()-function 2004-01-25 15:39:10 +00:00
messju
0e6224fc04 Smarty::_trigger_fatal_error() uses Smarty::trigger_error() now,
instead of the native trigger_error()-function
2004-01-25 15:36:05 +00:00
messju
f8011f6acb unrecognized custom-functions trigger an error at compile now, not at
display-time.
2004-01-25 15:29:19 +00:00
messju
0a66a27fe1 removed emission of unnecessary notices for unavailable config-files
in config_load()
2004-01-22 23:54:51 +00:00
messju
88cf42b0e6 fixed handling of hidden sections in Config_File 2004-01-22 23:47:46 +00:00
messju
cf0ee7bdd8 added handling of resources for {config_load} 2004-01-21 17:21:26 +00:00
messju
07b151bf3e fixed bug when using arrays with tr_attr and td_attr in {html_table} 2004-01-19 12:47:59 +00:00
mohrt
51e1064d69 update version numbers, add initial unit test directory 2004-01-16 22:12:08 +00:00
mohrt
5383e42a1d update version numbers for 2.6.1 release 2004-01-16 20:24:45 +00:00
messju
9b032e1ea4 renamed $smarty->tpl_rror_reporting to $smarty->error_reporting
"tpl_" is a bit redundant here (it's a TemPLate-engine overall :)
2004-01-16 20:01:35 +00:00
messju
146ecb7a85 forgot to remove duplicate is_secure()-check 2004-01-15 15:04:33 +00:00
messju
ea53ef5a58 fix: $smarty->security is now correctly handled
minor optimizations:
   core/core.is_secure.php is only included when needed
   $dpi_default is only determined when needed
2004-01-15 15:00:09 +00:00
messju
92d6489001 fixed handling of {php}-tags 2004-01-10 23:43:07 +00:00
messju
6950893505 added caching of requested paths to smarty_core_assemble_plugin_filepath() 2004-01-08 13:13:04 +00:00
messju
d6f1f25741 fixed handling of comments inside {php} and {literal} 2004-01-08 12:46:27 +00:00
messju
448114faeb fixed bug handling triple-quotes in config-files 2004-01-06 09:21:00 +00:00
messju
b0093e4cba fixed bugs with triple-quotes in config-files
thanks BRDude for finding them testing!
2004-01-06 09:17:02 +00:00
messju
35d7d5126d removed unnecessary param in call to _fetch_resource_info() 2004-01-02 11:05:41 +00:00
messju
70e7586d57 oops! removed tabs. 2003-12-30 21:42:51 +00:00
messju
077bb151ad made $SCRIPT_NAME available again
changes default for request_use_auto_global to prefer autoglobals
2003-12-27 09:41:43 +00:00
messju
def552981a removed tabs and trailing spaces 2003-12-27 09:35:08 +00:00
messju
e335832f62 readded default_modifiers. who removed that? 2003-12-27 09:25:25 +00:00
mohrt
fcb07072cd add debug console persistance feature 2003-12-19 19:23:09 +00:00
messju
36ac900ceb removed extract(). enhanced parameter parsing. 2003-12-19 17:20:19 +00:00
messju
f6bb3389f6 removed tabs. fixed indentiation. 2003-12-19 17:18:56 +00:00
messju
6711d0cebf removed tabs 2003-12-19 15:22:55 +00:00
messju
cc87a960f4 removed extract() from parameter-parsing 2003-12-19 08:49:17 +00:00