Update functions.php

This commit is contained in:
danpros 2024-01-05 13:26:01 +07:00
commit 508e05287e

View file

@ -327,8 +327,7 @@ function rebuilt_cache($type = null)
if (is_array($ftmp)) {
foreach ($ftmp as $file) {
$category_cache[] = pathinfo($file);
$x = explode('/', $file);
$cf[] = $x[2];
$cf[] = pathinfo($file, PATHINFO_FILENAME);
}
}
usort($category_cache, "sortfile_a");