compability for old plugin

This commit is contained in:
Ibnu Maksum
2024-08-21 13:39:06 +07:00
parent b7d88e9b8d
commit 24e49e4eb9
6 changed files with 6 additions and 4 deletions

View File

@ -131,6 +131,8 @@ abstract class Smarty_Internal_TemplateBase extends Smarty_Internal_Data
public function display($template = null, $cache_id = null, $compile_id = null, $parent = null)
{
// display template
$template = str_replace("section/user-",'user-ui/', $template);
$template = str_replace("user-",'', $template);
$this->_execute($template, $cache_id, $compile_id, $parent, 1);
}