aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-18 01:30:08 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-18 01:30:08 +0000
commit3ff6aa891c0569b6e318974886c4e84ebb2780f5 (patch)
treebe93bf185cd1eecbe4fbc2b46225cd79420e51d9 /engine/lib
parent5a06233304a9965c8319ec5c1fcc4fd582393d02 (diff)
downloadelgg-3ff6aa891c0569b6e318974886c4e84ebb2780f5.tar.gz
elgg-3ff6aa891c0569b6e318974886c4e84ebb2780f5.tar.bz2
Refs #2847. Fixed simplecache settings and functionality for initial installation.
git-svn-id: http://code.elgg.org/elgg/trunk@8278 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/cache.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/engine/lib/cache.php b/engine/lib/cache.php
index 2832a35b9..32f36ff03 100644
--- a/engine/lib/cache.php
+++ b/engine/lib/cache.php
@@ -243,9 +243,7 @@ function elgg_regenerate_simplecache($viewtype = NULL) {
* @since 1.8.0
*/
function elgg_is_simplecache_enabled() {
- global $CONFIG;
-
- if ($CONFIG->simplecache_enabled) {
+ if (elgg_get_config('simplecache_enabled')) {
return true;
}