aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/configuration.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/configuration.php')
-rw-r--r--engine/lib/configuration.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/lib/configuration.php b/engine/lib/configuration.php
index 772c24930..7f787331f 100644
--- a/engine/lib/configuration.php
+++ b/engine/lib/configuration.php
@@ -613,4 +613,7 @@ function _elgg_load_application_config() {
$viewtype = get_input('view', 'default');
$lastcached = datalist_get("simplecache_lastcached_$viewtype");
$CONFIG->lastcache = $lastcached;
+
+ // this must be synced with the enum for the entities table
+ $CONFIG->entity_types = array('group', 'object', 'site', 'user');
}