aboutsummaryrefslogtreecommitdiff
path: root/actions/admin
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-04-08 17:16:36 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-04-08 17:16:36 +0000
commit4cfe0887d68f3d89d63e2d7a857fc12186e6fae1 (patch)
tree7763205315543230b23d482848c37d8924cd465a /actions/admin
parentb24464ac9d6bd12b78740197531b582e0fdcd5d4 (diff)
downloadelgg-4cfe0887d68f3d89d63e2d7a857fc12186e6fae1.tar.gz
elgg-4cfe0887d68f3d89d63e2d7a857fc12186e6fae1.tar.bz2
Close #968: View path cache can now be turned on and off
git-svn-id: https://code.elgg.org/elgg/trunk@3197 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/admin')
-rw-r--r--actions/admin/site/update_basic.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/actions/admin/site/update_basic.php b/actions/admin/site/update_basic.php
index a106a22f0..69481011b 100644
--- a/actions/admin/site/update_basic.php
+++ b/actions/admin/site/update_basic.php
@@ -38,6 +38,11 @@
elgg_view_enable_simplecache();
} else {
elgg_view_disable_simplecache();
+ }
+ if (get_input('viewpath_cache_enabled')) {
+ elgg_enable_filepath_cache();
+ } else {
+ elgg_disable_filepath_cache();
}
set_config('language', get_input('language'), $site->getGUID());