i use automatic loading .tpl files by get parameter.
The parameter might be wrong and on next move it stops by error "Smarty: Unable to load template".
Can i catch this error and redirect page to some default template?
Thank you very much!
$seo = $params[0];
$smarty->display($seo . '.tpl');