Merge pull request #529 from torrentpier/constant-xs-tpl

Use XS_TPL_PREFIX instread of 'tpl_'
This commit is contained in:
Roman Kelesidis 2023-02-17 23:36:03 +07:00 committed by GitHub
commit bf0d5fd883
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);