Paul Lockaby
2003-02-20 01:05:50 UTC
Hi,
Is it possible to create a publicly accessible array of config file
variables to the php script? What I mean by that is this. When you load
a config file, like so:
$smarty->config_load("settings.cfg");
I want to be able to then access those variables from my script, without
having to load either load up the config files by creating an instance
of Config_Load or by accessing the private _config[0]["vars"] array.
Likewise, I feel that there should also be access to the assigned
variables through a mechanism other than _tpl_vars, a mechanism that
isn't me just bypassing the program.
Just my two cents.
~Paul
Is it possible to create a publicly accessible array of config file
variables to the php script? What I mean by that is this. When you load
a config file, like so:
$smarty->config_load("settings.cfg");
I want to be able to then access those variables from my script, without
having to load either load up the config files by creating an instance
of Config_Load or by accessing the private _config[0]["vars"] array.
Likewise, I feel that there should also be access to the assigned
variables through a mechanism other than _tpl_vars, a mechanism that
isn't me just bypassing the program.
Just my two cents.
~Paul
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php