|
Re: [SMARTY] config_load: msg#00471php.smarty.general
This functionality is not available in 2.3.1, only in CVS. In 2.3.1, you have to do it manually. http://smarty.incutio.com/?page=SmartyFrequentlyAskedQuestions (under Q: Is it possible to access Smarty config files directly from PHP scripts?) Monte On Fri, 2003-01-31 at 15:53, Jason M. Yonan wrote: > 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 > =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= -- Monte Ohrt <monte@xxxxxxxx> -- 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> |
|---|---|---|
| Previous by Date: | Re: [SMARTY] config_load: 00471, Ferdinand Beyer |
|---|---|
| Next by Date: | Re: [SMARTY] config_load: 00471, Paul Lockaby |
| Previous by Thread: | Re: [SMARTY] config_loadi: 00471, Ferdinand Beyer |
| Next by Thread: | Re: [SMARTY] config_load: 00471, Paul Lockaby |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |