diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-01-21 13:03:47 -0500 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-01-21 13:03:47 -0500 |
commit | b466d3e188a001f8d7ede1afbf3927c6dbdeae15 (patch) | |
tree | 2a94a7b24561623894d2783156e826cee6cbd1ac /engine/lib/plugins.php | |
parent | 19a6962c819dc33a0967dcef56154f6930b52287 (diff) | |
download | elgg-b466d3e188a001f8d7ede1afbf3927c6dbdeae15.tar.gz elgg-b466d3e188a001f8d7ede1afbf3927c6dbdeae15.tar.bz2 |
better location for system cache in data directory
Diffstat (limited to 'engine/lib/plugins.php')
-rw-r--r-- | engine/lib/plugins.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/plugins.php b/engine/lib/plugins.php index bbec52c2e..d9c7b321b 100644 --- a/engine/lib/plugins.php +++ b/engine/lib/plugins.php @@ -302,7 +302,7 @@ function elgg_load_plugins() { } // Load view caches if available - $cached_view_paths = elgg_load_system_cache('views'); + $cached_view_paths = elgg_load_system_cache('view_paths'); $cached_view_types = elgg_load_system_cache('view_types'); $cached_view_info = is_string($cached_view_paths) && is_string($cached_view_types); @@ -334,7 +334,7 @@ function elgg_load_plugins() { // Cache results if (!$cached_view_info) { - elgg_save_system_cache('views', serialize($CONFIG->views)); + elgg_save_system_cache('view_paths', serialize($CONFIG->views)); elgg_save_system_cache('view_types', serialize($CONFIG->view_types)); } |