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
parent 405f37b7ae
commit fdd142c42e
24 changed files with 214 additions and 164 deletions
+6 -7
View File
@@ -8,14 +8,13 @@
* Screenshot: <a href="screenshot.jpg">Screenshot</a>
*/
$a = get_app();
$a->theme_info = array(
'family' => 'dispy',
'name' => 'dark',
);
set_template_engine($a, 'smarty3');
function dispy_dark_init(&$a) {
$a->theme_info = array(
'family' => 'dispy',
'name' => 'dark',
);
set_template_engine($a, 'smarty3');
/** @purpose set some theme defaults
*/
$cssFile = null;