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:
commit
c0fd572fec
25 changed files with 228 additions and 174 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue