1
0
Fork 0

Merge pull request #574 from fermionic/20130103-always-load-theme-in-mod_init

Finalize theme decision in a module's _init function
This commit is contained in:
friendica 2013-01-04 14:36:47 -08:00
commit c0fd572fec
25 changed files with 228 additions and 174 deletions

View file

@ -9,11 +9,10 @@
* Screenshot: <a href="screenshot.png">Screenshot</a>
*/
$a = get_app();
$a->theme_info = array();
set_template_engine($a, 'smarty3');
function smoothly_init(&$a) {
$a->theme_info = array();
set_template_engine($a, 'smarty3');
$cssFile = null;
$ssl_state = null;
$baseurl = $a->get_baseurl($ssl_state);