diff options
author | cash <cash.costello@gmail.com> | 2012-01-25 19:19:27 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2012-01-25 19:19:27 -0500 |
commit | dd5690916b8acb952669914c0e7dfc3ebf0842c2 (patch) | |
tree | 74714627c607e1710fa7e611250483f3b0c06df9 /engine/lib/elgglib.php | |
parent | 6a2d3d7c2d22f57f28472d9d023788d20d41f005 (diff) | |
download | elgg-dd5690916b8acb952669914c0e7dfc3ebf0842c2.tar.gz elgg-dd5690916b8acb952669914c0e7dfc3ebf0842c2.tar.bz2 |
caching language data
Diffstat (limited to 'engine/lib/elgglib.php')
-rw-r--r-- | engine/lib/elgglib.php | 7 |
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(); |