Ignore:
Timestamp:
Mar 6, 2008, 1:25:47 AM (16 years ago)
Author:
rvelices
Message:
  • upgrade goes smarty
  • event_tracer goes smarty
  • correction in index.tpl
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/template.class.php

    r2239 r2254  
    8585    $this->smarty->register_modifier( 'translate', array('Template', 'mod_translate') );
    8686
    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    }
    8992
    9093    $this->_old = & new TemplateOld($root, $theme);
Note: See TracChangeset for help on using the changeset viewer.