diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-06-14 21:05:11 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-06-14 21:05:11 -0400 |
commit | 4c391e8cbdfb7a51392244d3f3ff0af35b1adb88 (patch) | |
tree | 1c5963893e643ee1f47d964da24d8da2abd46c52 /engine/lib/elgglib.php | |
parent | fd4f7ef53452f8ccd1c53b82e6b2cc0c86788e3f (diff) | |
download | elgg-4c391e8cbdfb7a51392244d3f3ff0af35b1adb88.tar.gz elgg-4c391e8cbdfb7a51392244d3f3ff0af35b1adb88.tar.bz2 |
rewrote the language caching - now not calling register_translations() if we can load the language data from cache
Diffstat (limited to 'engine/lib/elgglib.php')
-rw-r--r-- | engine/lib/elgglib.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index db1464bd8..8d4bbd64d 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -2106,11 +2106,13 @@ function _elgg_engine_boot() { _elgg_load_application_config(); - register_translations(dirname(dirname(dirname(__FILE__))) . "/languages/"); - _elgg_load_site_config(); + _elgg_session_boot(); + _elgg_load_cache(); + + _elgg_load_translations(); } /** |