just a variable name change

This commit is contained in:
Andy Miller
2014-08-28 18:05:50 -06:00
parent aa9d77cf8b
commit 4b6be8e513
3 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

@@ -11,7 +11,7 @@ pages:
cache:
enabled: true
check:
method: page
method: file
driver: auto
prefix: 'g'