From c7b88f69d0ef192b0821f952d9484200eba92807 Mon Sep 17 00:00:00 2001 From: danpros Date: Sun, 31 Dec 2023 11:49:49 +0700 Subject: [PATCH] Update functions.php --- system/includes/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/includes/functions.php b/system/includes/functions.php index f10ae08..c54801b 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -42,7 +42,7 @@ function get_static_subpages($static = null) static $_sub_page = array(); if (empty($_sub_page)) { - $url = 'cache/index/index-sub-pages.txt'; + $url = 'cache/index/index-subpages.txt'; if (!file_exists($url)) { rebuilt_cache('all'); } @@ -238,7 +238,7 @@ function rebuilt_cache($type = null) } usort($subpage_cache, "sortfile_a"); $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 $atmp = array();