aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/configuration.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-01-21 12:44:55 -0500
committerCash Costello <cash.costello@gmail.com>2012-01-21 12:44:55 -0500
commit19a6962c819dc33a0967dcef56154f6930b52287 (patch)
treef81d3530358a4056caf12a695d0700b0c232a69d /engine/lib/configuration.php
parent8e4d4c50df3f19be4ad9c204797e57ecd9ba02b3 (diff)
downloadelgg-19a6962c819dc33a0967dcef56154f6930b52287.tar.gz
elgg-19a6962c819dc33a0967dcef56154f6930b52287.tar.bz2
Fixes #4180 finished conversion to system cache by converting datalist/CONFIG var name
Diffstat (limited to 'engine/lib/configuration.php')
-rw-r--r--engine/lib/configuration.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/lib/configuration.php b/engine/lib/configuration.php
index cccd69105..772c24930 100644
--- a/engine/lib/configuration.php
+++ b/engine/lib/configuration.php
@@ -599,11 +599,11 @@ function _elgg_load_application_config() {
} else {
$CONFIG->simplecache_enabled = 1;
}
- $viewpath_cache_enabled = datalist_get('viewpath_cache_enabled');
- if ($viewpath_cache_enabled !== false) {
- $CONFIG->viewpath_cache_enabled = $viewpath_cache_enabled;
+ $system_cache_enabled = datalist_get('system_cache_enabled');
+ if ($system_cache_enabled !== false) {
+ $CONFIG->system_cache_enabled = $system_cache_enabled;
} else {
- $CONFIG->viewpath_cache_enabled = 1;
+ $CONFIG->system_cache_enabled = 1;
}
// initialize context here so it is set before the get_input call