diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-03-03 15:34:04 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-03-03 15:34:04 +0000 |
commit | 502c3f2804fd4987adaf9abbeeff5d2a5be2fec2 (patch) | |
tree | 18e3315a6e25006148066a1804017008b446f1d9 /engine/lib | |
parent | 2f4f6f2128a97343cff1a40421782a6f0b1f035a (diff) | |
download | elgg-502c3f2804fd4987adaf9abbeeff5d2a5be2fec2.tar.gz elgg-502c3f2804fd4987adaf9abbeeff5d2a5be2fec2.tar.bz2 |
Minor tweaks
git-svn-id: https://code.elgg.org/elgg/trunk@3038 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/plugins.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/engine/lib/plugins.php b/engine/lib/plugins.php index c70cd8ebc..2986b65e5 100644 --- a/engine/lib/plugins.php +++ b/engine/lib/plugins.php @@ -219,12 +219,8 @@ if (!empty($CONFIG->pluginspath)) { // See if we have cached values for things - $cached_view_paths = $cache->load('view_paths'); + $cached_view_paths = $cache->load('view_paths'); if ($cached_view_paths) $CONFIG->views = unserialize($cached_view_paths); - - $cached_lang_paths = $cache->load('lang_paths'); - if ($cached_lang_paths) $CONFIG->views = unserialize($cached_lang_paths); - // temporary disable all plugins if there is a file called 'disabled' in the plugin dir
if (file_exists($CONFIG->pluginspath . "disabled"))
|