Commit Graph

492 Commits

Author SHA1 Message Date
messju
ad79be90a0 removed use of get_include_filepath() inside
get_auto_filename(). thanks go to c960657
2004-07-01 15:48:40 +00:00
messju
12af99a73d changed version-number to 2.6.4-dev 2004-06-17 08:55:10 +00:00
messju
e311005304 made the correct value of "use_sub_dirs" available to the compiler.
(not worth a NEWS-entry, i think)
2004-06-08 10:48:50 +00:00
messju
72fdad0064 enhanced auto-generated filenames for templates_c and cache
incremented Smarty::_version because the tempfiles' structure changed
a little
2004-05-26 15:26:41 +00:00
messju
f63cb7a54b added check if for file_exists() to Smarty::_read_file() 2004-05-04 16:44:47 +00:00
messju
121e0e6287 reverted Stuff 2004-04-16 08:06:40 +00:00
messju
729ebe26ed Smarty_Compiler.class.php 2004-04-16 07:53:37 +00:00
messju
91549d3dba removed unused functionality to load a subset of lines from a file in
Smarty::_read_file()

additionally removed a warning that is emitted since php-4.3.5 when
fread() is called on an empty file (with filesize()==0). thanks to
Andreas Streichardt who pointed this out.
2004-04-12 12:38:36 +00:00
messju
f75615d03c removed unused security_setting 'ALLOW_CONSTANTS' 2004-04-12 10:34:44 +00:00
messju
9fa78a2cfd removed unused $smarty->_error_msg 2004-04-07 18:06:06 +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
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
fff19de349 updated version to 2.6.3-dev 2004-02-23 23:14:40 +00:00
mohrt
cf52c81e0a change some info in headers, remove fluff 2004-02-17 15:52:02 +00:00
messju
ef24ac0a3f changed default for use_sub_dirs to false 2004-02-07 20:29:20 +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
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
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
mohrt
fcb07072cd add debug console persistance feature 2003-12-19 19:23:09 +00:00
messju
4fe0af5398 fix headers sent erroneously with cache_modified_check and fetch() 2003-12-16 09:05:04 +00:00
messju
45e02b5033 fix: check $smarty->request_use_auto_globals at the last occurences of
HTTP_*_VARS
2003-12-04 11:37:27 +00:00
messju
64d755a37f remove $global_assign property from Smarty and $global_assign-handling
from the constructor. the only visible change is, that $SCRIPT_NAME is
not available in the tempates anymore. $smarty.server.SCRIPT_NAME has
to be used from now.
2003-12-03 09:29:13 +00:00
messju
44899e04ae changed version-tag to indicate incompatibility to older compiled
templates
2003-11-25 09:02:48 +00:00
messju
2a6b5479dd add property $tpl_error_reporting 2003-11-23 08:18:12 +00:00
messju
c5b552163c remove property $undefined. "null" is used literally instead 2003-11-22 00:32:38 +00:00
messju
66823d680d change version to 2.6.1-dev 2003-11-20 15:26:45 +00:00
mohrt
78ff86ed9f change version numbers to 2.6.0 2003-11-19 20:26:29 +00:00
messju
f903d313b4 move Smarty::quote_replace() to Smarty_Compiler::_quote_replace() 2003-11-18 23:35:05 +00:00
messju
209cd6efeb removed extract-calls from _include()- and _eval()-wrappers
variables passed with {include_php} have to accessed as members of $params now
2003-11-18 23:18:35 +00:00
mohrt
ab9f58841d commit RC3 tags 2003-11-13 17:35:52 +00:00
messju
7d391d55a8 fix unnecessary loading of core.load_resource_plugin.php 2003-11-13 16:50:33 +00:00
messju
2566246240 added $exp_time-parameter of clear_cache() and clear_all_cache() to
cache_handler_func.
2003-11-06 16:53:39 +00:00
messju
2b99bf5878 fixed little bug in _parse_resource_name() (jlgunter, messju) 2003-11-04 05:16:44 +00:00
messju
9b3ca8956e move check for template_dir in secure_dir-array into core.is_secure.php
this makes template_exists() work correctly with security=true even if
template_dir is not inside the secure_dir-array
2003-10-12 22:19:32 +00:00
messju
f8db1a7ce8 removed tabs from the main and the core/*.php files 2003-10-11 08:55:53 +00:00
mohrt
5302d13179 update version numbers to RC2 2003-10-08 23:43:34 +00:00
messju
6988b4747e backed out _smarty_cached_paths-file-handling 2003-09-15 14:30:57 +00:00
messju
7c38847c69 fixed clear_compiled_tpl with explicit $tpl_file given
fixed return value of smarty_core_rm_auto() + Smarty::_unlink()
2003-09-15 12:55:06 +00:00
messju
d9bd4677ff little fix in _get_auto_filename() 2003-09-15 12:26:23 +00:00
messju
a566b01a12 removed auto-filenames from path-cache. merged assemble_auto_filename
back into Smarty::_get_auto_filename()
2003-09-14 13:37:15 +00:00
messju
ad7803b89a remove Smarty::_plugin_implementation_exists() - use php's native
is_callable()
2003-09-12 13:40:53 +00:00
messju
430b084783 silenced two notices acces HTTP_SERVER_VARS 2003-09-11 07:25:32 +00:00
messju
16ab251d48 proper checking for files in _fetch_resource_info() 2003-09-04 10:30:13 +00:00