$smarty->get_config_vars('foo'); doesn't work
| From: | Ilir | Date: | Sat, 15 Mar 2003 05:17:28 +0000 |
| Subject: | $smarty->get_config_vars('foo'); doesn't work | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-8667@lists.php.net to get a copy of this message | ||
Hi there,
I want to get a specific config variable in a script but it can't find it.
This is the error I get:
Fatal error: Call to undefined function: get_config_vars() in
/home/virtual/site82/fst/var/www/html/site/index.php on line 35
This is how I'm calling it:
$smarty->config_load(CONFIG_DIR.'site.conf');
$tmpTitle = $smarty->get_config_vars('pageTitle');
Am I missing something here??? I've tried to figure out the problem for the
last 2 hours but my brain is clogged up. Would someone please help me?
Thanks :)
Ilir.