Force route rebuild when config changes (needed when changing home alias)

This commit is contained in:
Andy Miller
2014-11-09 12:53:13 -07:00
parent 2c247a4529
commit 45525af846

View File

@@ -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) {