mirror of
https://github.com/getgrav/grav.git
synced 2026-05-07 07:36:59 +02:00
Force route rebuild when config changes (needed when changing home alias)
This commit is contained in:
@@ -406,7 +406,7 @@ class Pages
|
||||
$last_modified = Folder::lastModifiedFile(PAGES_DIR);
|
||||
}
|
||||
|
||||
$page_cache_id = md5(USER_DIR.$last_modified);
|
||||
$page_cache_id = md5(USER_DIR.$last_modified.$config->checksum());
|
||||
|
||||
list($this->instances, $this->routes, $this->children, $taxonomy_map, $this->sort) = $cache->fetch($page_cache_id);
|
||||
if (!$this->instances) {
|
||||
|
||||
Reference in New Issue
Block a user