Active
Project:
iDrupal
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Nov 2009 at 22:39 UTC
Updated:
23 Nov 2009 at 22:39 UTC
The idrupal_init() function is incorrect in this module - it changes the default theme site-wide instead of changing the theme for a particular user.
See the following code for comparison:
// Set to our iphone theme - commented out b/c we need to set as $custom_theme
// $conf['theme_default'] = IDRUPAL_THEME;
// Override custom theme setting.
$custom_theme = IDRUPAL_THEME;