Browse Source

Update functions.php

pull/663/merge
danpros 1 year ago
parent
commit
c7b88f69d0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      system/includes/functions.php

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

@ -42,7 +42,7 @@ function get_static_subpages($static = null)
static $_sub_page = array(); static $_sub_page = array();
if (empty($_sub_page)) { if (empty($_sub_page)) {
$url = 'cache/index/index-sub-pages.txt';
$url = 'cache/index/index-subpages.txt';
if (!file_exists($url)) { if (!file_exists($url)) {
rebuilt_cache('all'); rebuilt_cache('all');
} }
@ -238,7 +238,7 @@ function rebuilt_cache($type = null)
} }
usort($subpage_cache, "sortfile_a"); usort($subpage_cache, "sortfile_a");
$subpage_string = serialize($subpage_cache); $subpage_string = serialize($subpage_cache);
file_put_contents('cache/index/index-sub-pages.txt', print_r($subpage_string, true));
file_put_contents('cache/index/index-subpages.txt', print_r($subpage_string, true));
// Rebuilt user profile index // Rebuilt user profile index
$atmp = array(); $atmp = array();


Loading…
Cancel
Save