| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
what is skin1.conf [] global | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Is it a dumping ground for all global variables?
__________________
X-Cart Pro 4.1.8 Windows 2003 Server, IIS6, PHP5.2.4 MySQL5.0.45 |
|||||||
#2
|
|||||||
|
|||||||
![]() More details why Im asking :
On my home.php (entry point) page, using webmaster mode, there is a reference to main/include_js.tpl. In the file main/include_js.tpl, there is a variable called $template_dir. My goal is to find out where $template_dir is defined. (Yes I know, why bother. I just gotta know how this all works. =) ) So we have this line in main/include_js.tpl : {include_php file="`$template_dir`/`$src`"} So I go back to webmaster mode and notice include_js.tpl is included by meta.tpl. Maybe $template_dir is passed from there? Sso I open up meta.tpl and look. I find : {include file="main/include_js.tpl" src="common.js"} I think this is where $src is defined, but I cant fint a reference to template_dir here, so I look higher. Its not in home.tpl, presets_js.tpl, or skin1.conf. So, where is $template_dir defined?
__________________
X-Cart Pro 4.1.8 Windows 2003 Server, IIS6, PHP5.2.4 MySQL5.0.45 |
|||||||
#3
|
|||||||||
|
|||||||||
![]() smarty.php in your root folder I think
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|||
X-Cart forums © 2001-2020
|