mirror of
https://github.com/danpros/htmly.git
synced 2026-04-22 21:46:22 +05:30
Update functions.php
This commit is contained in:
parent
4943ddf045
commit
508e05287e
1 changed files with 1 additions and 2 deletions
|
|
@ -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[] = pathinfo($file, PATHINFO_FILENAME);
|
||||||
$cf[] = $x[2];
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
usort($category_cache, "sortfile_a");
|
usort($category_cache, "sortfile_a");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue