diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-18 01:30:08 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-18 01:30:08 +0000 |
commit | 3ff6aa891c0569b6e318974886c4e84ebb2780f5 (patch) | |
tree | be93bf185cd1eecbe4fbc2b46225cd79420e51d9 /install | |
parent | 5a06233304a9965c8319ec5c1fcc4fd582393d02 (diff) | |
download | elgg-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 'install')
-rw-r--r-- | install/ElggInstaller.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/install/ElggInstaller.php b/install/ElggInstaller.php index fc0eff0ab..3fdd3afdb 100644 --- a/install/ElggInstaller.php +++ b/install/ElggInstaller.php @@ -1303,6 +1303,7 @@ class ElggInstaller { datalist_set('dataroot', $submissionVars['dataroot']); datalist_set('default_site', $site->getGUID()); datalist_set('version', get_version()); + datalist_set('simplecache_enabled', 1); // new installations have run all the upgrades $upgrades = elgg_get_upgrade_files($submissionVars['path'] . 'engine/lib/upgrades/'); @@ -1320,6 +1321,8 @@ class ElggInstaller { $dataroot = datalist_get('dataroot'); $cache = new ElggFileCache($dataroot); $cache->delete('view_paths'); + elgg_invalidate_simplecache(); + elgg_regenerate_simplecache(); return TRUE; } |