mirror of
https://github.com/getgrav/grav.git
synced 2026-03-20 19:41:33 +01:00
minor updates
This commit is contained in:
@@ -5,10 +5,6 @@ param_sep: ':' # Parameter separator, use ';' for Apache
|
||||
home:
|
||||
alias: '/home' # Default path for home, ie /
|
||||
|
||||
languages: # Supported languages
|
||||
- en
|
||||
- fr
|
||||
|
||||
pages:
|
||||
theme: antimatter # Default theme (defaults to "antimatter" theme)
|
||||
order:
|
||||
|
||||
@@ -490,9 +490,7 @@ class Pages
|
||||
$last_modified = Folder::lastModifiedFile($pagesDir);
|
||||
}
|
||||
|
||||
$lang_key = $this->active_language ?: '';
|
||||
|
||||
$page_cache_id = md5(USER_DIR.$last_modified.$lang_key.$config->checksum());
|
||||
$page_cache_id = md5(USER_DIR.$last_modified.$language->getActive().$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