aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/elgglib.php
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2012-01-25 19:19:27 -0500
committercash <cash.costello@gmail.com>2012-01-25 19:19:27 -0500
commitdd5690916b8acb952669914c0e7dfc3ebf0842c2 (patch)
tree74714627c607e1710fa7e611250483f3b0c06df9 /engine/lib/elgglib.php
parent6a2d3d7c2d22f57f28472d9d023788d20d41f005 (diff)
downloadelgg-dd5690916b8acb952669914c0e7dfc3ebf0842c2.tar.gz
elgg-dd5690916b8acb952669914c0e7dfc3ebf0842c2.tar.bz2
caching language data
Diffstat (limited to 'engine/lib/elgglib.php')
-rw-r--r--engine/lib/elgglib.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index aba84bd48..11bdc7285 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -2062,7 +2062,8 @@ function elgg_walled_garden() {
* 2. connects to database
* 3. verifies the installation suceeded
* 4. loads application configuration
- * 5. loads site configuration
+ * 5. loads i18n data
+ * 6. loads site configuration
*
* @access private
*/
@@ -2071,14 +2072,14 @@ function _elgg_engine_boot() {
set_error_handler('_elgg_php_error_handler');
set_exception_handler('_elgg_php_exception_handler');
- register_translations(dirname(dirname(dirname(__FILE__))) . "/languages/");
-
setup_db_connections();
verify_installation();
_elgg_load_application_config();
+ register_translations(dirname(dirname(dirname(__FILE__))) . "/languages/");
+
_elgg_load_site_config();
_elgg_load_cache();