diff options
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/configuration.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engine/lib/configuration.php b/engine/lib/configuration.php index 698bccc73..fb33d7461 100644 --- a/engine/lib/configuration.php +++ b/engine/lib/configuration.php @@ -177,6 +177,12 @@ $dataroot = datalist_get('dataroot');
if (!empty($dataroot))
$CONFIG->dataroot = $dataroot;
+ $simplecache_enabled = datalist_get('simplecache_enabled');
+ if ($simplecache_enabled !== false) {
+ $CONFIG->simplecache_enabled = $simplecache_enabled;
+ } else {
+ $CONFIG->simplecache_enabled = 1;
+ }
if (isset($CONFIG->site) && ($CONFIG->site instanceof ElggSite)) {
$CONFIG->wwwroot = $CONFIG->site->url;
$CONFIG->sitename = $CONFIG->site->name; |