Writing code for {config_load} is turning out to be harder than I thought. Parsing and caching a {config_load} file is somewhat easy, but coming up with a calling scheme is not.
Basically, I want the compiled file to call a function which sets the config session variables: session("t_tpl_config")("variable_name")="value"
Coming up with a way to create that function, the function name, and the filename is difficult. The generated filename must be unique, and the generated function name must be unique.
Wednesday, December 9, 2009
Subscribe to:
Posts (Atom)