Use XS_TPL_PREFIX instread of 'tpl_'

This commit is contained in:
Roman Kelesidis 2023-02-17 23:35:38 +07:00
commit 48654fbf1d

View file

@ -42,7 +42,7 @@ switch ($mode) {
global $template;
$match = 'tpl_';
$match = XS_TPL_PREFIX;
$match_len = strlen($match);
$dir = $template->cachedir;
$res = @opendir($dir);