config_load
| From: | Jason M. Yonan | Date: | Fri, 31 Jan 2003 21:53:39 +0000 |
| Subject: | config_load | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-7444@lists.php.net to get a copy of this message | ||
Hello all!
I am new to Smarty and have a question about how to load a config file
from a smarty object. The docs seems to point that you can do the
following, but this doesn't seem to be possible with version 2.3.1.
$smarty = new Smarty;
$smarty->config_load("my.conf");
The latest cvs seems to include this function, but the 2.3.1 version only
has a private function _config_load(). What is the preferred way to load a
config file in the latest stable version? Sorry if I am missing something
obvious.
Jason
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
This email was written by Jason M. Yonan jmy@ecst.csuchico.edu
If the #2 pencil is the most popular, why is it still #2?
-George Carlin
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=