Another correction

This commit is contained in:
pete_morgan
2005-06-05 18:21:34 +00:00
parent 712155305d
commit 60b0355644

View File

@@ -49,7 +49,7 @@
// set the filename eg index.inc.tpl // set the filename eg index.inc.tpl
$mid_template = $_GET['page'].'inc.tpl'; $mid_template = $_GET['page'].'inc.tpl';
if( !smarty->template_exists($template_name) ){ if( !$smarty->template_exists($mid_template) ){
$mid_template = 'page_not_found.inc.tpl'; $mid_template = 'page_not_found.inc.tpl';
} }
$smarty->assign('page_mid', $mid_template); $smarty->assign('page_mid', $mid_template);