mirror of
https://github.com/danpros/htmly.git
synced 2026-04-17 11:16:00 +05:30
Update functions.php
This commit is contained in:
parent
5226e9c01c
commit
08ea4e032d
1 changed files with 1 additions and 0 deletions
|
|
@ -331,6 +331,7 @@ function rebuilt_cache($type = null)
|
|||
|
||||
// Rebuilt category slug index
|
||||
$dirc = array();
|
||||
$dirc = array_push($ctmp, 'uncategorized');
|
||||
$dirc = array_unique($ctmp, SORT_REGULAR);
|
||||
file_put_contents('cache/index/index-category.txt', print_r(serialize($dirc), true), LOCK_EX);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue