|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
sguillory6 Smarty Rookie
Joined: 20 Feb 2006 Posts: 17
|
Posted: Mon Feb 20, 2006 6:27 pm Post subject: Default directory for config_load() function |
|
|
If you do not supply an abolute file name for the configuration file in the call to config_load() (or the {config_load} tag), what is the default directory that Smarty will look in?
Thanks,
Stan |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
Posted: Mon Feb 20, 2006 6:45 pm Post subject: |
|
|
just look at line 89 of the Smarty.class.php file -- (hint: it's 'configs' underneath the SMARTY_DIR directory). |
|
Back to top |
|
sguillory6 Smarty Rookie
Joined: 20 Feb 2006 Posts: 17
|
Posted: Mon Feb 20, 2006 6:54 pm Post subject: Thanks. |
|
|
I have it on my list to go look at the Smarty and SmartyValidate source for a number of issues, but just posting to the forum while porting some struts code as things arise until I have time.
Thanks,
Stan |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Mon Feb 20, 2006 7:16 pm Post subject: |
|
|
config_load() and {config_load} loads config files from $smarty->config_dir. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|