Dotclear


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/public/prepend.php

    r2541 r1949  
    101101     } 
    102102} 
    103  
     103      
    104104# If theme doesn't exist, stop everything 
    105105if (!$core->themes->moduleExists($__theme)) { 
     
    134134     $__theme_tpl_path[] = $core->blog->themes_path.'/'.$__parent_theme.'/tpl'; 
    135135} 
    136 $tplset = $core->themes->moduleInfo($core->blog->settings->system->theme,'tplset'); 
    137 if (!empty($tplset) && is_dir(dirname(__FILE__).'/default-templates/'.$tplset)) { 
    138      $core->tpl->setPath( 
    139           $__theme_tpl_path, 
    140           dirname(__FILE__).'/default-templates/'.$tplset, 
    141           $core->tpl->getPath()); 
    142 } else { 
    143      $core->tpl->setPath( 
    144           $__theme_tpl_path, 
    145           $core->tpl->getPath()); 
    146 } 
     136 
     137$core->tpl->setPath( 
     138     $__theme_tpl_path, 
     139     dirname(__FILE__).'/default-templates', 
     140     $core->tpl->getPath()); 
     141 
    147142$core->url->mode = $core->blog->settings->system->url_scan; 
    148143 
     
    150145     # --BEHAVIOR-- publicBeforeDocument 
    151146     $core->callBehavior('publicBeforeDocument',$core); 
    152  
     147      
    153148     $core->url->getDocument(); 
    154  
     149      
    155150     # --BEHAVIOR-- publicAfterDocument 
    156151     $core->callBehavior('publicAfterDocument',$core); 
     
    160155          ,660); 
    161156} 
    162  
     157?> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map