never use profile_load outside of a module's _init() function

This commit is contained in:
Zach Prezkuta 2013-01-03 10:47:45 -07:00
commit fdd142c42e
24 changed files with 214 additions and 164 deletions

View file

@ -17,15 +17,14 @@
* or rename to prefix1_function_name (prefix2_function_name), etc.
*/
$a = get_app();
$a->theme_info = array(
'family' => 'dispy',
'version' => '1.2.2'
);
set_template_engine($a, 'smarty3');
function dispy_init(&$a) {
$a->theme_info = array(
'family' => 'dispy',
'version' => '1.2.2'
);
set_template_engine($a, 'smarty3');
/** @purpose set some theme defaults
*/
$cssFile = null;