summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-10-16 19:06:25 +0000
committerDries Buytaert <dries@buytaert.net>2009-10-16 19:06:25 +0000
commit60c5878351cc547dbfda260fefcf378491c958ec (patch)
tree9985db3bf964c09cb8564b54c79f345d773edf21 /install.php
parent4430d46334127c69d5ff97ce2e15475c0fae2654 (diff)
downloadbrdo-60c5878351cc547dbfda260fefcf378491c958ec.tar.gz
brdo-60c5878351cc547dbfda260fefcf378491c958ec.tar.bz2
- Patch #593746 by #593746 by sun, andypost: prepare Drupal core for dynamic data translation.
Diffstat (limited to 'install.php')
-rw-r--r--install.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/install.php b/install.php
index 4f81169da..08271bdec 100644
--- a/install.php
+++ b/install.php
@@ -242,12 +242,13 @@ function install_begin_request(&$install_state) {
require_once DRUPAL_ROOT . '/includes/file.inc';
require_once DRUPAL_ROOT . '/includes/path.inc';
- // Set up $language, so t() caller functions will still work.
- drupal_language_initialize();
-
// Load module basics (needed for hook invokes).
include_once DRUPAL_ROOT . '/includes/module.inc';
include_once DRUPAL_ROOT . '/includes/session.inc';
+
+ // Set up $language, so t() caller functions will still work.
+ drupal_language_initialize();
+
include_once DRUPAL_ROOT . '/includes/entity.inc';
$module_list['system']['filename'] = 'modules/system/system.module';
$module_list['filter']['filename'] = 'modules/filter/filter.module';