Hi Skrol,
I need to add content of my subtemplate to main template via
[onload;file='[var.inc_content]';getbody;noerr]. |
Var inc_content contains path and filename of subtemplate. The problem is that this file is in "hidden" dir outside my home dir. In PHP scripts I solved including other files from this location via
$path = '\xampplite\htdocs\public_html';
set_include_path(get_include_path() . PATH_SEPARATOR . $path); |
and it works correctly. But with template it doesn't work. It seems that TBS search for files to include only inside home dir (when I move this dir to home dir it works). Is it possible to mod TBS so it searches at all include paths as regular php scripts?
Thanks!