Changeset 2254 for trunk/include/template.class.php
- Timestamp:
- Mar 6, 2008, 1:25:47 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/template.class.php
r2239 r2254 85 85 $this->smarty->register_modifier( 'translate', array('Template', 'mod_translate') ); 86 86 87 include($root.'/theme/'.$theme.'/themeconf.inc.php'); 88 $this->smarty->assign('themeconf', $themeconf); 87 if ( !empty($theme) ) 88 { 89 include($root.'/theme/'.$theme.'/themeconf.inc.php'); 90 $this->smarty->assign('themeconf', $themeconf); 91 } 89 92 90 93 $this->_old = & new TemplateOld($root, $theme);
Note: See TracChangeset
for help on using the changeset viewer.