Commit Graph

22 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
0a66a27fe1 removed emission of unnecessary notices for unavailable config-files
in config_load()
2004-01-22 23:54:51 +00:00
messju
cf0ee7bdd8 added handling of resources for {config_load} 2004-01-21 17:21:26 +00:00
mohrt
d7311e2692 move set_path() call below the conditional bracket 2003-12-12 19:45:11 +00:00
mohrt
5b14130cef fix config_load filepath bug 2003-12-12 14:38:42 +00:00
boots
549a69ba44 really make the fixes the last patch was supposed to do 2003-11-29 02:15:41 +00:00
boots
74034f776f removed tabs and killed trailing white-space 2003-11-29 01:44:41 +00:00
boots
b0563469a0 changed $smarty->_syntax_error to $smarty->trigger_error 2003-11-29 00:49:09 +00:00
messju
ef13d8b606 fixes in config_load:
- handling of section-attribute
- reusing the same config-file multiple times
- serialization of config-data for php<4.2.0 (no var_export)

many thanks to atu for pointing this out and for testing
2003-08-14 10:59:30 +00:00
mohrt
1bd3c2f992 fix more dir paths 2003-06-21 17:39:15 +00:00
mohrt
9526d1ed42 fix filepaths to core files to use DIRECTORY_SEPARATOR 2003-06-21 17:35:15 +00:00
mohrt
a889155fdc refactored var naming to better reflect "resource" instead of "file" where appropriate 2003-06-20 20:01:10 +00:00
mohrt
96e1934b03 fix logic for _is_compiled() 2003-06-19 13:18:15 +00:00
mohrt
e837781093 fix path problems, rename some varibles from "template" to "file" 2003-06-17 14:11:57 +00:00
mohrt
f42a23f504 fix config_load, compile fetched arrays to compile_dir, switch display
back to runtime. clean up var names and function names,  split up compile
testing and compiling to separate funcs, rename some template_* functions to
file_* functions and update logic so they can be used for file resources
other than templates.
2003-06-16 19:45:11 +00:00
mohrt
621629cd44 make config vars compile statically 2003-06-11 21:52:09 +00:00
messju
79d955503f fixed multiple redundant occurrences for 'config' and 'template' in
$smarty->_cache_info
2003-05-12 07:53:57 +00:00
mohrt
5b67277699 abstract more private functions to plugin directory 2003-05-08 20:21:16 +00:00
mohrt
97e6b40b81 fixed debug timing logic for config_load 2003-04-21 14:22:46 +00:00
cellog
fac8fb59fc *** empty log message *** 2003-04-20 21:18:26 +00:00
mohrt
9b42197d3e fix typo 2003-04-20 21:07:54 +00:00
mohrt
fffa454585 add config_load plugin file to repository 2003-04-20 18:08:34 +00:00