|
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 |
lodjikz Smarty Rookie
Joined: 21 Jul 2005 Posts: 9
|
Posted: Wed Jul 27, 2005 1:36 am Post subject: smarty_function_config_load() problem... |
|
|
Hi,
each time i load my index.tpl i have to dinamically load some config file section. the problem is that the second time a run config_load it tells me:
Fatal error: Call to undefined function: smarty_function_config_load() in c:\Programas\PHP-5.0.4\smarty\templates_c\%%45^45E^45E480CD%%index.tpl.php on line 41
i've checked both config file and section variables and use and even reassigned them.
Hope to hear from u.
Great thanks once again! |
|
Back to top |
|
lodjikz Smarty Rookie
Joined: 21 Jul 2005 Posts: 9
|
Posted: Wed Jul 27, 2005 1:33 pm Post subject: |
|
|
ok,
by now i managed a solution, maybe the right way to do it...
i only call config_load in the PHP, not in the template and assign the config variable value to the template and it works nice.
Thanks |
|
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
|