logo       

[SMARTY] config_load: msg#00468

php.smarty.general

Subject: [SMARTY] config_load

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@xxxxxxxxxxxxxxxxx

If the #2 pencil is the most popular, why is it still #2?
-George Carlin
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=


--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise