minor updates

This commit is contained in:
Andy Miller
2015-07-01 20:50:36 -06:00
parent 63369247ab
commit e2db025aa0
2 changed files with 1 additions and 7 deletions

View File

@@ -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:

View File

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