Minor improvements (#893)

This commit is contained in:
Roman Kelesidis 2023-09-07 21:19:21 +07:00 committed by GitHub
commit 5ed4fdadd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 5 deletions

View file

@ -38,7 +38,6 @@ switch ($mode) {
global $template;
$match = XS_TPL_PREFIX;
$match_len = strlen($match);
$dir = $template->cachedir;
$res = @opendir($dir);
while (($file = readdir($res)) !== false) {