mirror of
https://github.com/getgrav/grav.git
synced 2025-10-26 07:56:07 +01:00
just a variable name change
This commit is contained in:
@@ -22,7 +22,7 @@ pages:
|
||||
cache:
|
||||
enabled: true # Set to true to enable caching
|
||||
check:
|
||||
method: page # Method to check for updates in pages: page|folder|none
|
||||
method: file # Method to check for updates in pages: file|folder|none
|
||||
driver: auto # One of: auto|file|apc|xcache|memcache|memcached|wincache
|
||||
prefix: 'g' # Cache prefix string (prevents cache conflicts)
|
||||
|
||||
|
||||
@@ -359,8 +359,8 @@ class Pages
|
||||
|
||||
$last_modified = 0;
|
||||
|
||||
// how should we check for last modified? Default is by page
|
||||
switch (strtolower($config->get('system.cache.check.method', 'page'))) {
|
||||
// how should we check for last modified? Default is by file
|
||||
switch (strtolower($config->get('system.cache.check.method', 'file'))) {
|
||||
case 'none':
|
||||
case 'off':
|
||||
$last_modified = 0;
|
||||
|
||||
@@ -11,7 +11,7 @@ pages:
|
||||
cache:
|
||||
enabled: true
|
||||
check:
|
||||
method: page
|
||||
method: file
|
||||
driver: auto
|
||||
prefix: 'g'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user