Browse Source

Update functions.php

pull/674/head
danpros 1 year ago
parent
commit
508e05287e
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      system/includes/functions.php

+ 1
- 2
system/includes/functions.php View File

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


Loading…
Cancel
Save