Changeset 5123 for trunk/include/functions_user.inc.php
- Timestamp:
- Mar 13, 2010, 1:00:52 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_user.inc.php
r5060 r5123 246 246 $user['nb_image_page'] = $user['nb_image_line'] * $user['nb_line_page']; 247 247 248 list($user['template'], $user['theme']) = explode('/', $user['template']); 248 // Check user theme 249 if (!file_exists(PHPWG_ROOT_PATH.'themes/'.$user['theme'].'/themeconf.inc.php')) 250 { 251 $user['theme'] = $conf['default_theme']; 252 } 249 253 250 254 return $user; … … 842 846 * 843 847 */ 844 function get_default_t emplate()845 { 846 return get_default_user_value('t emplate', PHPWG_DEFAULT_TEMPLATE);848 function get_default_theme() 849 { 850 return get_default_user_value('theme', PHPWG_DEFAULT_TEMPLATE); 847 851 } 848 852
Note: See TracChangeset
for help on using the changeset viewer.