removed TEMPLATE_SWITCH
This commit is contained in:
@ -251,8 +251,7 @@ if (!is_object($serendipity['smarty'])) {
|
||||
}
|
||||
|
||||
$serendipity['smarty']->assign($data);
|
||||
$tpldir = ( !defined('SWITCH_TEMPLATE_VERSION') ) ? 'tplold' : 'tpl';
|
||||
$tfile = dirname(__FILE__) . "/$tpldir/users.inc.tpl";
|
||||
$tfile = dirname(__FILE__) . "/tpl/users.inc.tpl";
|
||||
$content = $serendipity['smarty']->fetch('file:'. $tfile);
|
||||
echo $content;
|
||||
|
||||
|
Reference in New Issue
Block a user