Accessing config vars in PHP.
| From: | Michal Zajaczkowski | Date: | Mon, 29 Oct 2001 15:03:04 +0000 |
| Subject: | Accessing config vars in PHP. | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-1744@lists.php.net to get a copy of this message | ||
Hi
Is there a way of accessing assigned config vars in the PHP script?
I have done it by $smarty->configs[0][varname], but it's not quite
correct, since the "configs" array is a "private" var of the Smarty
class.
Is there any correct way of doing that?
TIA
mz
---
http://www.zus.cc.pl tego potrzebujesz !
---